Troubleshoot Project Creation from Visual Studio Build
You can run the polyspace-configure command to create a Polyspace® project or options file from a Visual Studio® build. The command monitors the processes executed during the build and
extracts information required for the project or options file
You can trace your Visual Studio build in one of the following ways:
Build your Visual Studio project completely at the command line with
msbuildwhile tracing this build withpolyspace-configure.In this workflow, you run
polyspace-configureon anmsbuildcommand with a Visual Studio project (.vcxproj) file. For instance, in a Visual Studio 2019 developer prompt, enter the following:polyspace-configure msbuild TestProject.vcxproj /t:Rebuild
Build your Visual Studio project in the Visual Studio IDE while tracing this build with
polyspace-configure.Run
polyspace-configureon thedevenv.exeexecutable to open the Visual Studio IDE, build your project or solution within the IDE, and then close the IDE.
If running polyspace-configure on the msbuild
command does not work properly, do the following:
Stop the
msbuildprocess.Set the environment variable
MSBUILDDISABLENODEREUSEto 1.Restart
polyspace-configureonmsbuild, this time using the/nodereuse:falseoption. For instance:polyspace-configure msbuild TestProject.vcxproj /t:Rebuild /nodereuse:false