Restore Module
Contains tasks which allow to restore NuGet packages from a NuGet package feed like nuget.org using the nuget.exe restore command. There is also a tutorial about nuget package restore available.
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
RestoreMSSolutionPackages setParams solutionFile
Parameters:
RestorePackageParams -> RestorePackageParams
-
Function used to manipulate the default NuGet parameters.
solutionFile : string
-
The microsoft sln file name.
|
Example
|
Full Usage:
RestorePackage setParams packageFile
Parameters:
RestorePackageParams -> RestorePackageParams
-
Function used to manipulate the default NuGet parameters.
packageFile : string
-
The packages.config file name.
|
Example
|
|
|
Full Usage:
RestorePackageId setParams packageId
Parameters:
RestoreSinglePackageParams -> RestoreSinglePackageParams
-
Function used to manipulate the default NuGet parameters.
packageId : string
|
|
Full Usage:
RestorePackages ()
Parameters:
unit
|
Restores all packages from NuGet to the default directories by scanning for packages.config files in any subdirectory.
|
|
|
Full Usage:
findNuget defaultPath
Parameters:
string
-
The default path to return when NuGet cannot be found by path specified above
Returns: string
|
Looks for NuGet.exe in
|