Skip to content

Automated Dependency Updates for Nuget

Renovate supports updating Nuget dependencies.

File Matching

By default, Renovate will check any files matching any of the following regular expressions:


For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: dotnet, nuget.

Default config

  "fileMatch": [

Additional Information

Use packageRules to control the behavior of the NuGet package manager.

The NuGet package manager supports these SDK-style files and formats:

  • .csproj
  • .fsproj
  • .vbproj
  • .props
  • .targets
  • global.json
  • dotnet-tools.json

.NET Core projects are supported by default.

For Renovate to work with .NET Framework projects, you need to update these files so they match the new SDK-style format:

  • .csproj
  • .fsproj
  • .vbproj
  • .props
  • .targets

Open feature requests

  • Add full range support to nuget versionScheme #5016
  • NuGet Repository URLs and environment variables #8335
  • Fully support nuget range/floating versions (including prerelease) #11127
  • Nuget: support for packageSourceMapping feature #17562
  • Extract RuntimeFrameworkVersion for dotnet #18434

Open bug reports

  • nuget datasource should throw registry-failure #4677

The above list of features and bugs were current when this page was generated on December 08, 2022.