Visual c++ 2010 Express使用错误的工具集
Visual C++ 2010 Express using wrong toolset
我的项目有Project > Properties > General > Platform Toolset
设置为v100,但是当我试图构建我得到
Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
我已经在项目文件中搜索了v110
,它不在文件中。我是从Linux来的,Visual Studio的东西让我很头疼。
是否有我可能遗漏的其他设置?
编辑:我在打开项目时得到这个消息。C:UsersRyanDownloadsCRYENGINE_Build_PC_v3_5_8_2310_freesdkCodeCryEngineCryActionCryActionHeaders.vcxproj : warning : Platform 'x64' referenced in the project file 'CryAction' cannot be found. Please make sure you have it installed under '%VCTargetsPath%Platformsx64'.
Edit2:我想我找到问题了。$(PlatformToolset)宏是v110,我只是不确定如何编辑它。
很久以前我也遇到过类似的问题。我的结论是,这可能是由于vs中的一个bug。我通过创建一个新项目并重新导入所有内容来"解决"它。
检查您是否构建了与您正在查看的相同的项目配置。在General
页面的顶部有Configuration > Debug/Release
和Platform
(可以是Win32/x64)组合框。每个项目配置的工具集设置可能不同。
在文本应用程序(notepad++)中打开.vcproj,然后找到声明该版本的所有实例。
任何标记为v1xx或在标签中有单词版本(例如)的内容都需要更改为代表您正在使用的目标版本的形式。
如果它是v141,你想要VS10,那么它需要更改为v101。
希望对你有帮助。
- NPM 安装:找不到平台工具集 = v141
- 构建在VS 2013中找不到平台工具集= 'v141'
- C++ VS 工具集 141 - 142 铸造的差异
- 如果使用平台工具集构建应用,则 CCheckListBox 项在选择时会重叠'Visual Studio 2017 (v141)'
- Visual Studio Platform 工具集和运行时库
- 使用自定义工具集获取动态退出析构函数链接错误 - eh 矢量析构函数
- 在一个VS项目中使用多个工具集 - 是否存在风险
- 为什么在链接时搜索使用错误工具集的提升库?
- C2064 从 MSVC v100 更新到 v140 平台工具集时出现编译错误
- 使用类型参数专用化部分模板参数(VC++ v140 工具集)
- C V100平台工具集
- 提升链接器错误工具集
- 如何获取Visual Studio C++工具集标记
- 我已安装的GCC版本是我已安装的RedHat开发人员工具集的背后
- 找不到 Visual Studio 2008 的生成工具(平台工具集 = 'v90')
- 如何使用 CMake 设置 VS 平台工具集属性
- 始终使用 Visual Studio 中提供的最新工具集
- 将平台工具集更改为v140_xp时出现"Windows.h:没有此类文件或目录"错误
- Visual studio 2013项目与v120_xp工具集有MIDL 2072错误
- Visual c++ 2010 Express使用错误的工具集