> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/supported-languages/supported-languages-list/.net/scm-integrations-for-.net.md).

# SCM integrations for .NET

How Snyk scans .NET repositories through SCM integrations, including NuGet support and Universal Broker requirements

{% hint style="info" %}
Snyk does not support Projects using Visual Studio Build Tools.

Snyk supports Windows-specific frameworks (WPF, WCF) only for .NET 10 and later.
{% endhint %}

Snyk supports NuGet as the only package manager for SCM integrations. For brokered SCMs and brokered private package repositories, Snyk supports only the Universal Broker.

Considerations:

* Snyk operates on a case-sensitive file system. Manifest definitions, such as `<ProjectReference>` strings, must match the case of the files and folders.
* `Directory.*.props`, `global.json`, and other .NET-specific manifest files must use the exact casing Microsoft describes.
* Snyk supports a subset of the major, minor, and patch versions supported by Microsoft.

Snyk uses the following files to create dependency trees:

* .NET Core: `*.proj` files
* .NET Framework: `*.proj` files and `packages.config`

## Import and scan .NET Projects

You can import .NET Projects from any supported SCM integration. Snyk analyzes your Projects using supported manifest files, builds a dependency tree, and displays the results in the Snyk Web UI.

To configure Snyk to scan build and development dependencies or skip them, navigate to the relevant Group and Organization **Settings** > **.NET**. To scan all development dependencies, select the **Scan build dependencies** option.

## Supported manifest files

Snyk builds the dependency tree using the following manifest files:

* `*.csproj`
* `*.vbproj`
* `*.fsproj`
* `global.json`
* `Directory.Build.props`
* `Directory.Packages.props`

{% hint style="info" %}
A .NET Project can target different frameworks. Snyk creates a separate list of dependencies for each framework and displays each as a distinct Snyk Project. This isolates dependencies and simplifies remediation planning.
{% endhint %}

## Fix vulnerabilities in .NET Projects

If you manage Project dependencies with NuGet using `PackageReference` or `packages.config`, Snyk automatically updates the dependency version in your manifest file if a fix is available. You can then review and merge the fixes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.snyk.io/supported-languages/supported-languages-list/.net/scm-integrations-for-.net.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
