-
Notifications
You must be signed in to change notification settings - Fork 115
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-DotNet
foldercd DevSkim\DevSkim-DotNet
-
Open
Microsoft.DevSkim.sln
in your IDE -
Set
Microsoft.DevSkim.CLI
as 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.CLI
foldercd DevSkim\DevSkim-DotNet\Microsoft.DevSkim.CLI
-
Build the CLI using
dotnet
dotnet build
-
Run the
devskim
DLL 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-DotNet
foldercd DevSkim\DevSkim-DotNet
-
Open
Microsoft.DevSkim.sln
in your IDE -
Set
Microsoft.DevSkim.VisualStudio
as 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.VisualStudio
foldercd DevSkim\DevSkim-DotNet\Microsoft.DevSkim.VisualStudio
-
Build the extension using
msbuild
msbuild 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
DevSkim
folder 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-Plugin
foldercd DevSkim\DevSkim-VsCode-Plugin
-
Use
npm
to 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
code
utility provided by VS Codecode --install-extension vscode-devskim-0.8.55.vsix