-
Notifications
You must be signed in to change notification settings - Fork 121
Build from Source
This page describes the build processes for DevSkim version 0.8 or later.
- An existing installation of the .NET 8.0 or later SDK.
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to the
DevSkim-DotNetfoldercd DevSkim\DevSkim-DotNet -
Open
Microsoft.DevSkim.slnin your IDE -
Set
Microsoft.DevSkim.CLIas your startup project -
Run / build / debug as desired
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to the
Microsoft.DevSkim.CLIfoldercd DevSkim\DevSkim-DotNet\Microsoft.DevSkim.CLI -
Build the CLI using
dotnetdotnet build -
Run the
devskimDLL using dotnetdotnet bin\debug\net7.0\devskim.dll
- An existing installation of the .NET 8.0 or later SDK.
- Visual Studio Developer Command Prompt
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to the
DevSkim-DotNetfoldercd DevSkim\DevSkim-DotNet -
Open
Microsoft.DevSkim.slnin your IDE -
Set
Microsoft.DevSkim.VisualStudioas your startup project -
Run / build / debug as desired
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to the
Microsoft.DevSkim.VisualStudiofoldercd DevSkim\DevSkim-DotNet\Microsoft.DevSkim.VisualStudio -
Build the extension using
msbuildmsbuild Microsoft.DevSkim.VisualStudio.csproj -restore -
Extension package is located at:
Microsoft.DevSkim.VisualStudio\bin\Debug\Microsoft.DevSkim.VisualStudio.vsix
- Run (or double-click) the VSIX package for guided installation
- An existing installation of the .NET 8.0 or later SDK
- An existing installation of Node.js.
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Open the
DevSkimfolder in VS Code -
Select
Run and Debug(Ctrl + Shift + D) -
Select
Clean + Launch VSC Client -
Start Debugging (F5)
-
Download or clone a local copy of the DevSkim repository
git clone https://github.com/microsoft/DevSkim.git -
Navigate to the
DevSkim-VsCode-Pluginfoldercd DevSkim\DevSkim-VsCode-Plugin -
Use
npmto install dependenciesnpm install -
Run the extension packaging script to produce a VSIX package
npm run pack-ext -
Extension package is located at:
DevSkim-VsCode-Plugin\vscode-devskim-0.8.55.vsix
-
Install via VS Code extension manager
-or-
-
Install via command line using the
codeutility provided by VS Codecode --install-extension vscode-devskim-0.8.55.vsix