如題。
編譯器報錯如下:
錯誤 1 error MSB8020: The builds tools for v140 (Platform Toolset = ‘v140’) cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select “Update VC++ Projects…”. Install v140 to build using the v140 build tools. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets 44
解決方案:
打開項目屬性->配置屬性->常規->平臺工具集 。選擇適合自己的版本。