Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Using Visual Studio 2015 with x64 and not able to find CL.exe
Billy McMullin
Posts: 64 admin
We have found that when using Visual Studio 2015 with Insure++ versions 7.4.10 and up that if you want to build your application as an 64 bit application, the build will fail because it was unable to find the CL.exe. This is happening because there was a change in how MSBuild works with x64 bit applications which is causing this behavior.
The fix for this is as follows:
- Go to “C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V140/Platforms/x64/ImportBefore/”
- Open the XML file “Parasoft.Insure.Platform.targets”
- Locate the line “$(InsureToolPath);$(NativeExecutablePath)”, it should be at or around line 12.
- Either delete or Comment out this line.
This file is generated when Insure++ is installed so it is safe to modify. This will be fixed in a later release of the tool.
2
Comments
-
Step 3 should read:
"Locate the line CONTAINING “$(InsureToolPath);$(NativeExecutablePath)” ...
Other than that, this is the current workaround.0