snippetbashTip
dotnet restore — Restores the dependencies and tools of a .NET project. More information: <https://learn.microsoft.co
Viewed 0 times
thecommandanddependenciesclirestorestoolsdotnet restore
Problem
How to use the
dotnet restore command: Restores the dependencies and tools of a .NET project. More information: <https://learn.microsoft.com/dotnet/core/tools/dotnet-restore>.Solution
dotnet restore — Restores the dependencies and tools of a .NET project. More information: <https://learn.microsoft.com/dotnet/core/tools/dotnet-restore>.Restore dependencies for a .NET project or solution in the current directory:
dotnet restoreRestore dependencies for a .NET project or solution in a specific location:
dotnet restore {{path/to/project_or_solution}}Restore dependencies without caching the HTTP requests:
dotnet restore --no-http-cacheForce all dependencies to be resolved even if the last restore was successful:
dotnet restore --forceRestore dependencies using package source failures as warnings:
dotnet restore --ignore-failed-sourcesRestore dependencies with a specific verbosity level:
dotnet restore {{[-v|--verbosity]}} {{quiet|minimal|normal|detailed|diagnostic}}Code Snippets
Restore dependencies for a .NET project or solution in the current directory
dotnet restoreRestore dependencies for a .NET project or solution in a specific location
dotnet restore {{path/to/project_or_solution}}Restore dependencies without caching the HTTP requests
dotnet restore --no-http-cacheForce all dependencies to be resolved even if the last restore was successful
dotnet restore --forceRestore dependencies using package source failures as warnings
dotnet restore --ignore-failed-sourcesContext
tldr-pages: common/dotnet restore
Revisions (0)
No revisions yet.