我安装了Visual Studio 2015,并且需要使用包含在SDK 7.1中的Visual C++ 2010编译器编译特定项目。在VS2015上使用sdk 7.1构建
我想在VS2015中使用2010编译器,无需安装VS2010。 因此,我安装了它(SDK),并在项目属性的“平台工具集”属性下显示了“Visual Studio 2010(v100)”,“Windows7.1SDK”选项。 但是,当我尝试生成项目,我得到这些错误:
随着 “Windows7.1SDK” -
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(146,5): error : Required file "" is missing.
,并以 “Visual Studio 2010中(V100)” -
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(297,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(146,5): error : Required file "" is missing.
想不通的问题是什么..