Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Restores nuget packages for a specific solution file.

Syntax

Code Block
languagePowershell
themeConfluence
firstline0001
linenumbersfalse
collapsefalse
Restore-Packages [-solutionPath] <String> [[-toolsPath] <String>] [[-sourceNugetExe] <String><CommonParameters>]
[<CommonParameters>]

Parameters

Name

Alias

Description

Required?

Pipeline Input

Default Value

-

solutionPath


Full path to the solution file.

true

false


-

toolsPath


OPtional. The path to store nuget.exe to

false

-sourceNugetExeOptional. If provided, will download NuGet.exe if not already in the path.

false

https://dist.nuget.org/win-x86-commandline/latest/nuget.exe