dotnet restore

The dotnet command that downloads the NuGet packages a project depends on and records the resolved dependency graph.

In more detail

Build, run, test and publish restore automatically, so you run it on its own mainly in continuous integration. The --no-restore flag skips the step when a restore already happened earlier in the same job.

Examples

dotnet restore
dotnet test --no-restore

Related terms

Taught in

References