.NET

What type of .NET projects does Snyk support?

Snyk supports testing and monitoring .NET projects that have their dependencies managed by  NuGet.

Source Control Management*

Snyk's source control integrations support testing and monitoring the following manifest files & formats:

  •  packages.config
  • *.csproj, *.vbproj, *.fsproj
  • <packageReference> format in *.csproj, *.vbproj, *.fsproj files

Snyk will analyse each manifest in a context of a target framework in order to understand all the dependencies brought in by the projects. Snyk uses Nuget API (3+) to grab all transitive dependencies.

* .Net SCM support is currently in Beta, if you would like it to be enabled for your account please contact us at support@snyk.io

Serverless

See the specific Snyk Serverless documentation for language support.

CLI

Snyk's CLI support testing and monitoring the following .NET manifest files & formats:

Testing the solution
snyk test --file=<your_solution>.sln

Testing individual project

snyk test --file=packages.config

A project build file is required for the CLI test so that Snyk can analyse target frameworks for this project.

Go to the cli documentation for more details about the specific commands supported by the CLI.