Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI should run restore implicitly for commands that require restore #7973

Closed
livarcocc opened this issue Mar 22, 2017 · 5 comments
Closed

CLI should run restore implicitly for commands that require restore #7973

livarcocc opened this issue Mar 22, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@livarcocc
Copy link
Contributor

CLI should just invoke dotnet restore implicitly for commands that require it:

  • run
  • build
  • publish
  • pack
  • test
@svick
Copy link
Contributor

svick commented Mar 22, 2017

I believe this issue is related: NuGet/Home#4329.

@livarcocc
Copy link
Contributor Author

We should add a parameter to turn this off though. Likely a --no-restore flag.

cc @richlander

@terrajobst
Copy link
Contributor

terrajobst commented May 6, 2017

We should add a parameter to turn this off though. Likely a --no-restore flag.

Not that I'm against that but what scenarios would require that?

@Kritner
Copy link

Kritner commented May 30, 2017

@terrajobst

Not that I'm against that but what scenarios would require that?

I would guess to not restore for each build... i'm guessing it'd only be beneficial for local development, and not a build server scenario.

@livarcocc livarcocc self-assigned this Jun 2, 2017
@livarcocc
Copy link
Contributor Author

PR: dotnet/cli#6762.

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants