Skip to content

jfrog/jfrog-visual-studio-extension

Repository files navigation

JFrog Visual Studio Extension

Target Status Installs
Visual Studio 2022 Visual Studio 2022 Artifactory Extension Marketplace Installs
Visual Studio 2017, 2019 Visual Studio 2017,2019 Visual Studio 2017,2019

Table of Contents

About this Extension

JFrog Visual studio extension adds JFrog Xray scanning of NuGet project dependencies to your Visual Studio. To learn how to use the extension, please visit the JFrog Visual Studio Extension User Guide.

Component Tree Icons

The icon demonstrates the top severity issue of a selected component and its transitive dependencies. The following table describes the severities from lowest to highest:

Icon Severity Description
Normal Normal Scanned - No Issues
Unknown Unknown No CVEs attached to the vulnerability or the selected component not identified in Xray
Low Low Top issue with low severity
Medium Medium Top issue with medium severity
High High Top issue with high severity
Critical Critical Top issue with critical severity

Installing the Extension

  1. Make sure nuget.exe exists under your PATH environment variable
  2. Open Visual Studio
  3. Open Tools --> Extensions and Updates

alt

  1. Search for JFrog Visual Studio Extension
  2. Click on Download
  3. Once the installation is completed, re-open Visual Studio.

Building the Sources

To build the plugin sources, please follow these steps:

  1. Clone the code from git.
  2. Download the JFrog CLI executable for Windows and place it under $PROJECT_LOCATION\JFrogVSExtension\Resources.
  3. Open Visual Studio.
  4. Open Tools --> Get Tools and Features

alt

  1. Select the workloads tab and scroll to the bottom for the Other Toolsets section. Install Visual Studio extension development. Read more about Visual Studio SDK here.

alt

  1. Once the installation is completed, re-open Visual Studio.
  2. Click on File --> Open --> Project/Solution and navigate to the project root dir and select the sln file.
  3. To build the project, click on Build tab --> Build Solution. The VSIX file will be created in the following location: $PROJECT_LOCATION\bin\Release\JFrog.VSExtension.vsix
  4. If the build fails, please refer to the Troublshooting Issues section.

alt

  1. If you'd like to help us develop and enhance the extension, this step is for you. To build and run the plugin following your code changes, click on Debug --> Start Debugging.

alt

Troublshooting Issues

When openning the project in Visual Studio for the first time, the following error may appear : "Fody.WeavingTask" task was not given a value for the required parameter "SolutionDir".

To fix this,close the solution and open it again. More information can be found here

Release Notes

The release notes are available here.

Code Contributions

We welcome community contribution through pull requests.