-
Notifications
You must be signed in to change notification settings - Fork 10
Update Options
The NuGet Update task allows updating NuGet Packages from solution files.
grunt.initConfig({
nugetupdate: {
project: {
src: 'project.sln'
}
}
});
You can find more options on this page.
type: string, array | required
Specify input files to update. Only sln files are allowed. Accept globbing patterns
type: object | optional
type: string | optional | default: 'nuget.org or NuGet.config's DefaultSource '
Specifies a list of package sources to use for the updates.
type: string | optional | default: none
Specifies the action to take when asked to overwrite or ignore existing files referenced by the project. Values are overwrite, ignore, none.
type: string | optional | default: '%AppData%\NuGet\NuGet.config'
The NuGet configuation file. If not specified, file %AppData%\NuGet\NuGet.config is used as configuration file.
type: number | optional | default: MSBuild in your path
Specifies the version of MSBuild to be used with this command. Supported values are 4, 12, 14, 15. By default the MSBuild in your path is picked, otherwise it defaults to the highest installed version of MSBuild.
type: boolean | optional | default: false
Allows updating to prerelease versions. This flag is not required when updating prerelease packages that are already installed.
type: boolean | optional | default: false
Specifies that only updates with the highest version available within the same major and minor version as the installed package will be installed.
type: boolean | optional | default: false
Updates nuget.exe to the latest version; all other arguments are ignored.