v100
是 MS VC 2010
工具集。v90
是 MS VC 2008
工具集。v80
是 MS VC 2005
工具集,这就是你要找的。按照以下步骤设置 MS VC 2005 平台工具集
。
在 C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets
中创建 v80
文件夹。
从
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v100
复制 Microsoft.Cpp.Win32.v100.props
和 Microsoft.Cpp.Win32.v100.targets
文件到
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v80
中。
重命名复制的文件为 Microsoft.Cpp.Win32.v80.props
和 Microsoft.Cpp.Win32.v80.targets
。
修改文件,指向 VisualStudio\8.0
,将 110
改为适当的 80
或 8.0
。
编辑项目设置,将平台工具集更改为 v80
。
重新构建项目,就这样!