You use Veracode Static for Visual Studio to create a build of your application and upload the application to Veracode for analysis.
When you create a new build of your application, the Veracode extension creates the build with the necessary compilation and linker settings as outlined in Veracode Packaging Requirements. To create the new Veracode build, open your project solution in Visual Studio and, then, select . This action temporarily changes the compilation and linker settings of the source build configuration in preparation for uploading to Veracode. By default, the extension builds your code using the active build configuration.
After the build completes, by default, it automatically precompiles any web projects that are part of the solution. Precompilation translates ASP.NET views/pages and controls into DLL files, with debug information for Veracode to analyze, and stores the precompilation output in $(SolutionDir)\PrecompiledWeb.
To precompile your web projects manually:
- In Visual Studio, select .
- Clear the Publish on build with Veracode settings checkbox to disable automatic precompilation.
- Select to start precompiling your web project.
To issue a clean solution command that deletes all artifacts and creates a new build, select.