JFrog Visual Studio Extension
Target |
Status |
Installs |
Visual Studio 2022 |
|
|
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 |
Scanned - No Issues |
|
Unknown |
No CVEs attached to the vulnerability or the selected component not identified in Xray |
|
Low |
Top issue with low severity |
|
Medium |
Top issue with medium severity |
|
High |
Top issue with high severity |
|
Critical |
Top issue with critical severity |
Installing the Extension
- Make sure nuget.exe exists under your PATH environment variable
- Open Visual Studio
- Open Tools --> Extensions and Updates
- Search for JFrog Visual Studio Extension
- Click on Download
- Once the installation is completed, re-open Visual Studio.
Building the Sources
To build the plugin sources, please follow these steps:
- Clone the code from git.
- Download the JFrog CLI executable for Windows and place it under $PROJECT_LOCATION\JFrogVSExtension\Resources.
- Open Visual Studio.
- Open Tools --> Get Tools and Features
- 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.
- Once the installation is completed, re-open Visual Studio.
- Click on File --> Open --> Project/Solution and navigate to the project root dir and select the sln file.
- 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
- If the build fails, please refer to the Troublshooting Issues section.
- 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.
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.