dotnet restore is now an implicit command
- Dominant language
- No language data
- Stars
- 1.4k
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
# dotnet restore is now an implicit command
With the release of .NET Core SDK 2.0, the `dotnet restore` command is now implicit for commands that require a restore to occur. In most cases, you no longer need to use `dotnet restore`. Build systems or other forms of automation may still want to call `dotnet restore` explicitly to control the time in which the restore occurs and potential uses of the network.
The following commands implicitly call restore:
* `new`
* `run`
* `build`
* `publish`
* `pack`
* `test`
You can pass `--no-restore` to any of these commands to disable implicit restore.
## Details
* [dotnet/cli #6105](https://github.com/dotnet/cli/issues/6105)
* [dotnet/cli #6762](https://github.com/dotnet/cli/pull/6762)
* [dotnet/cli #6008](https://github.com/dotnet/cli/issues/6008)
## Impact
The .NET Core development experience no longer requires explicit use of the `dotnet restore` command. This improvement is delivered with the .NET Core 2.0 SDK and works independent of the target framework.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the announcement and its referenced dotnet/cli issues to understand the documented SDK behavior. No file, test, or requested code change is named, so completion cannot be defined from this issue alone.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100