Skip to main content

NuGet

NuGet

The NuGet package manager for .NET.

Description​

A package manager implementation for .NET project files that embed NuGet package configuration.

Configuration​

Example​

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
analyzer:
packageManagers:
NuGet:
options:
nugetConfigFile: <OPTIONAL_STRING>

Use the following syntax to configure this plugin in a repository's .ort.yml:

analyzer:
package_managers:
NuGet:
options:
nugetConfigFile: <OPTIONAL_STRING>

If the plugin is configured in both locations, the configurations are merged, with options from .ort.yml taking precedence over those from config.yml.

Options​

nugetConfigFile​

STRING

The path to the NuGet configuration file to use.