mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
dotnet restore: add page (#4341)
This commit is contained in:
parent
7c681eea51
commit
21586f40d8
1 changed files with 28 additions and 0 deletions
28
pages/common/dotnet-restore.md
Normal file
28
pages/common/dotnet-restore.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# dotnet restore
|
||||||
|
|
||||||
|
> Restores the dependencies and tools of a .NET project.
|
||||||
|
> More information: <https://docs.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 {{path/to/project_or_solution}}`
|
||||||
|
|
||||||
|
- Restore dependencies without caching the HTTP requests:
|
||||||
|
|
||||||
|
`dotnet restore --no-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 --verbosity {{quiet|minimal|normal|detailed|diagnostic}}`
|
Loading…
Add table
Reference in a new issue