hugo411
hugo411

Reputation: 346

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

I run windows 7 with visual studio 2012. Everything compile fine. 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. 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.

Any ideas? Thanks

Upvotes: 0

Views: 510

Answers (1)

hugo411
hugo411

Reputation: 346

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. The solution is to uninstall VS 2012 and then repair VS 2017.

Upvotes: 0

Related Questions