我正在尝试编译一个用C++编写的项目。编译器给了我这个错误。
1>Project file contains ToolsVersion="12.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".
谁能告诉我如何解决这个错误。我试图更新它,但无法这样做?
发布于 2014-06-22 21:32:17
您似乎正在尝试在Visual Studio2012(使用ToolsVersion=11.0)上编译Visual Studio2013项目(因为它使用ToolsVersion=12.0)。
所以这就是你问题的解决方案。#测试成功
它对我起作用了。我希望也能为您工作:)
发布于 2014-06-22 17:30:01
ToolsVersion "12.0“表示它是一个Visual Studio2013项目文件。你需要用正确的编译器来编译它。
https://stackoverflow.com/questions/24353730
复制