In order to test and monitor .NET projects we require one of the following:
packages.config (.NET Framework)
.proj file or project.json or project.assets.json (.NET Core)
paket.dependencies and paket.lock
Once the project is imported, we create a dependency tree for each project and compares the specific versions of every direct and deep dependency in your project against our NuGet vulnerability database. In case we find a vulnerability, we will notify you so you will be able to decide which action to take.
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 analyze target frameworks for this project.
Go to the CLI documentation for more details about the specific commands supported by the CLI.