dotnet restore
Restore 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 restore
- Restore dependencies for a .NET project or solution in a specific location:
dotnet restore
- Restore dependencies without caching the HTTP requests:
dotnet restore --no-http-cache
- Force all dependencies to be resolved even if the last restore was successful:
dotnet restore --force
- Restore dependencies using package source failures as warnings:
dotnet restore --ignore-failed-sources
- Restore dependencies with a specific verbosity level:
dotnet restore
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
