SdkCheck 0.5.0

dotnet add package SdkCheck --version 0.5.0
                    
NuGet\Install-Package SdkCheck -Version 0.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SdkCheck" Version="0.5.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SdkCheck" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="SdkCheck">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SdkCheck --version 0.5.0
                    
#r "nuget: SdkCheck, 0.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SdkCheck@0.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SdkCheck&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=SdkCheck&version=0.5.0
                    
Install as a Cake Tool

SdkCheck

Warns at build time when the .NET SDK or runtime in use has published CVEs, or sits on a channel that has reached end of support.

A CVE in the .NET SDK or runtime is fixed in the next patch release. The SDK a build runs on is whatever was installed on the machine, baked into the CI image or pinned in global.json, and it picks the runtime the output is built against. A project keeps compiling, testing and shipping on a version with published CVEs until someone notices.

NuGetAudit covers NuGet packages. CheckSdkVulnerabilities covers the SDK, on .NET 11 and later. That leaves the runtime, where most .NET CVEs land, and every SDK before 11. The usual substitutes - dotnet sdk check, a global.json floor, a hand-written version baseline - never name a CVE.

SdkCheck compares the SDK and runtime actually in use against Microsoft's live release metadata, so a CVE published tomorrow is reported tomorrow with nothing to bump.

See https://github.com/SimonCropp/SdkCheck for full documentation.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.0 64 9/7/2026
0.4.0 61 9/7/2026
0.3.0 72 9/7/2026
0.2.0 63 9/7/2026
0.1.0 61 9/7/2026