การใช้ visual studio 2012 บน windows 8 x64 สาเหตุนี้เกิดจากการย้าย msbuild ไปที่. net แต่ฉันยังไม่เห็นวิธีการแก้ไข
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5):
error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.
PlatformToolsetคุณสามารถแทนที่ได้เช่นนั้น (VS2013):"\Program Files (x86)\MSBuild\12.0\Bin\MSBuild" .\path\to\MySolution.sln /p:PlatformToolset=v120(หากคุณอยู่ใน PowerShell ให้ใส่ไว้&ก่อน\Progr..) สำหรับ VS2015 ก็จะกลายเป็น"\Program Files (x86)\MSBuild\14.0\Bin\MSBuild"และ/p:PlatformToolset=v140และอื่น ๆ