-
Notifications
You must be signed in to change notification settings - Fork 121
Build from Source
Gabe Stocco edited this page May 4, 2023
·
10 revisions
This page describes the build process for DevSkim 0.8 or later.
Building the CLI from source only requires an existing installation of the .NET 7.0 or later SDK.
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to your local DevSkim repository, and into the DevSkim-DotNet folder
cd c:\path\to\repos\DevSkim\DevSkim-DotNet -
Build the DevSkim CLI DLL
dotnet build Microsoft.DevSkim.CLI -
Run devskim
dotnet Microsoft.DevSkim.CLI\bin\debug\net7.0\devskim.dll
WIP
Building the VS Code Plugin requires NodeJS.
In the DevSkim-VsCode-Plugin directory run
-
npm ito install dependencies -
npm run pack-extto generate a vsix package.