Skip to main content

Install Greenlight for Visual Studio

You can install Greenlight for Visual Studio from the Microsoft Visual Studio Marketplace.

Before you begin:

Before you begin, you must have:

  • Confirmed you have a supported version of Visual Studio and the plugin supports your code language.
  • Stored your API credentials in an API credentials file.
  • Confirmed you meet the Greenlight prerequisites.
  • Ensured that all required Veracode IP addresses for the Veracode APIs and integrations are on the allowlist for your organization. The extension uses these addresses to authenticate with Veracode. To update your allowlist, you might need to contact your IT team.
  • If you use a proxy to access Veracode, ensured you have configured the proxy in your IDE, or you might see an authentication error after installing the extension. The Greenlight plugin does not provide proxy settings. To configure a proxy, see the Visual Studio documentation.

To complete this task:

  1. Go to the Microsoft Visual Studio Marketplace.
  2. Search for Veracode.
  3. In the search results, select the link for the Veracode Greenlight for Visual Studio you want to install.
  4. Select Download to download the VSIX file. If your browser downloads the VSIX file with a ZIP file extension, change the ZIP file extension to VSIX.
  5. Double-click the VSIX file to start the Visual Studio installer.
  6. When prompted, select the Visual Studio version you want to use with Veracode Greenlight for Visual Studio.
  7. Select Install.
  8. Restart Visual Studio.
  9. Rebuild the solution that contains the files you want to scan.