C++ 错误 MSB8008:指定的平台工具集 (v120) 未安装或无效
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26100989/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
error MSB8008: Specified platform toolset (v120) is not installed or invalid
提问by Jose Ramon
I've downloaded a c++ project. I opened the .sln
file and I tried to build the project. I got the following error:
我已经下载了一个 C++ 项目。我打开.sln
文件并尝试构建项目。我收到以下错误:
error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
I ve already checked that the platform toolset is set to v120
. What is the problem here?
我已经检查过平台工具集是否设置为v120
. 这里有什么问题?
回答by herohuyongtao
Either change the platform toolset of your project to v100
(as you have installed VS2010) or install VS2013 in order to use v120
.
将项目的平台工具集更改为v100
(因为您已安装 VS2010)或安装 VS2013 以使用v120
.