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.