简体   繁体   English

从2012年到2017年将Visual Studio项目迁移到错误CL.exe

[英]migrating visual studio project from 2012 to 2017 errors CL.exe

I run windows 7 with visual studio 2012. Everything compile fine. 我在Visual Studio 2012中运行Windows7。一切编译正常。 I open the same project on the new visual studio 2017 community, i got a popup saying to upgrade to windows sdk 10 and toolset v141. 我在新的Visual Studio 2017社区上打开了同一项目,我弹出一个对话框说要升级到Windows SDK 10和工具集v141。 I did. 是的

Then when building i got this? 然后,当我得到这个?

C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\VC\\VCTargets\\Microsoft.CppCommon.targets(361,5): error MSB6006: "CL.exe" exited with code -1073741701. C:\\ Program Files(x86)\\ Microsoft Visual Studio \\ 2017 \\ Community \\ Common7 \\ IDE \\ VC \\ VCTargets \\ Microsoft.CppCommon.targets(361,5):错误MSB6006:“ CL.exe”退出,代码为-1073741701。

Any ideas? 有任何想法吗? Thanks 谢谢

thanks for your support, i found the answer. 感谢您的支持,我找到了答案。 I installed VS 2017 community without uninstalling VS 2012 first and it gave me toolset problem with CL.exe. 我安装VS 2017社区而没有先卸载VS 2012,这给了我CL.exe工具集的问题。 The solution is to uninstall VS 2012 and then repair VS 2017. 解决方案是卸载VS 2012,然后修复VS 2017。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM