You can use Veracode Static for Visual Studio to create a build of your application and upload the application to Veracode for analysis.
Before you begin:
When you create a new build of your application, the extension creates the build with the necessary compilation and linker settings as outlined in packaging requirements.
To complete this task:
Open your project solution in Visual Studio.
Select Extensions > Veracode Static > Build with Veracode Settings.
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, then precompiles your project automatically.