我正在使用VS2012构建一个用VS2013创建的包,问题是该项目使用了build v110_xp,其中只有v110版本
在msbuild过程中,它会抱怨,
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform
.targets(44,5): error MSB8020: The builds tools for v110_xp (Platform Toolset =
'v110_xp') cannot be found. To build using the v110_xp build tools, either cli
ck the Project menu or right-click the solution, and then select "Update VC++ P
rojects...". Install v110_xp to build using the v110_xp build tools. [c:\\xxx.vcxproj]当然,在VS IDE中,我可以编辑每个项目的版本。
但是我想知道是否有一种方法可以忽略缺少的工具,让msbuild使用任何可用的工具。
发布于 2017-04-11 07:13:20
您可以使用msbuild命令行更改使用的平台工具集,如下所示:
msbuild.exe /p:PlatformToolset=v110 ..。
https://stackoverflow.com/questions/43338526
复制相似问题