Using Visual Studio 2015 with x64 and not able to find CL.exe

Billy McMullinBilly McMullin Posts: 42 admin
edited February 16 in Insure++

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:

  1. Go to “C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V140/Platforms/x64/ImportBefore/”
  2. Open the XML file “Parasoft.Insure.Platform.targets”
  3. Locate the line “$(InsureToolPath);$(NativeExecutablePath)”, it should be at or around line 12.
  4. 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.


  • RichRich Posts: 8

    Step 3 should read:
    "Locate the line CONTAINING “$(InsureToolPath);$(NativeExecutablePath)” ...
    Other than that, this is the current workaround.

Sign In or Register to comment.