.NET
Applicability
Snyk supports .NET for code analysis and .NET for open source. There is guidance for Snyk for .NET. If you need help, see Troubleshooting Snyk for .NET.
Snyk has introduced a new Early Access feature with significantly enhanced scanning capabilities for NuGet applications. For detailed information and access to these features, see the Improved .NET scanning page.
Check the language availability to be imported as an application, tested, or monitored using the Snyk products.
Available functions:
SCM import available for Snyk Open Source and Snyk Code. If you use .NET for Snyk Open Source, then the SCM import is only available when used with NuGet.
Test or monitor your app through CLI and IDE, available for both Snyk Open Source and Snyk Code.
Test your app's SBOM using
pkg:nuget
Test your app's packages using
pkg:nuget
Package managers and supported file extensions
Snyk for .NET supports NuGet and Paket as package managers and nuget.org as a package registry and supports the following file formats:
Snyk Open Source:
For NuGet:
project.assets.json
,*.sln
,packages.config,
project.json
For Paket:
paket.dependencies
,paket.lock
Frameworks and libraries
The following frameworks and libraries are supported in Snyk for .NET: (only code)
.NET 6.0-8.0 - Comprehensive
.NET Core - Comprehensive
.NET Framework 4.6-4.8.x - Comprehensive
Anthropic.SDK - Comprehensive
ASP.NET 6.x (C# only) - Comprehensive
Azure.AI.OpenAI - Comprehensive
Dapper - Comprehensive
fastJSON - Comprehensive
Google_GenerativeAI - Comprehensive
Microsoft.CodeAnalysis.VisualBasic - Comprehensive
Mistral.SDK - Comprehensive
System.CodeDom.Compiler - Comprehensive
Windows Forms - Partial
Features
The following features are supported in Snyk for .NET:
Fix PRs (NuGet)
License scanning
Reports
Reports
Custom rules
Interfile analysis
Last updated
Was this helpful?