Precompile Web Projects Using Visual Studio

IDEs

You can can choose to manually precompile your builds when they complete if you do not want them to precomile automatically.

To precompile web projects that target a 64-bit architecture, you must use the 64-bit version of Windows. Before you can successfully upload your binaries, you must correct all compilation and precompilation errors. Veracode cannot upload and scan an application that does not build successfully.
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. Automatic Precompilation is set by default. To choose to precompile your web projects manually or automatically:
  1. In Visual Studio, select Veracode Static > Options > Precompilation.
  2. Clear the Publish on build with Veracode settings checkbox to disable automatic precompilation.
  3. Select Veracode Static > Publish/Precompile Web Projects to start precompiling your web project.
  4. To issue a clean solution command that deletes all artifacts and creates a new build, select Veracode Static > Rebuild With Veracode Settings.
    Note: To use Veracode Static for Visual Studio to precompile web projects that target a 64-bit architecture, you must use the 64-bit version of Windows.