Introduce a setting for automatically disabling the implicit restore
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
### Is your feature request related to a problem? Please describe.
Some users express annoyance that the implicit restore occurs for build and build-related commands, and must be explicitly disabled with each command via the `--no-restore` CLI flag. Those users would prefer to manage restores explicitly and not pay the price for the restore on each subsequent step.
Similar logic follows for situations where the `build` is implicit, like `dotnet run` - these should be as fast as possible in the minds of these users and so implicit behaviors should be disabled by default, requiring explicit orchestration.
### Describe the solution you'd like
We should have some centralized preference or configuration that lets a user opt out of implicit restore and all build-triggering commands should adhere to that preference
### Additional context
* [BlueSky discussion on `run` overhead](https://bsky.app/profile/jb.evain.net/post/3lcsrv7vnjs2m)
* https://github.com/dotnet/sdk/issues/26249
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.