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

"Execute the restore command to continue" messages in large projects cycle continuously #928

Closed
aeschli opened this issue Nov 14, 2016 · 3 comments

Comments

@aeschli
Copy link
Contributor

aeschli commented Nov 14, 2016

From @ryanbrandenburg on November 11, 2016 22:36

  • VSCode Version: 1.7.1
  • OS Version: Ubuntu 14.04

Steps to Reproduce:

  1. Clone an AspNet Core repo with lots of projects (like aspnet/Mvc).
  2. Open that folder in VS Code and wait for all the messages reading There are unresolved dependencies from 'project'. Please execute the restore command to continue. to appear.
  3. From the command line run dotnet restore.
  4. Observe the rapid scroll of the restore messages.

Copied from original issue: microsoft/vscode#15387

@DustinCampbell
Copy link
Member

This is essentially a duplicate of #845.

In the latest release that just shipped, we added a csharp.suppressDotnetRestoreNotification which you can set for your project. After installing the update, do the following:

  1. Open your project in Visual Studio Code
  2. Select Preferences -> User Settings
  3. In settings.json add the following:
    "csharp.suppressDotnetRestoreNotification": true

Now, close and reopen your project (or relaunch VS Code).

@anshupitlia
Copy link

Does "csharp.suppressDotnetRestoreNotification": true only suppresses the notification or it does a dotnet restore and then suppress the notification?

@rchande
Copy link

rchande commented May 13, 2019

@anshupitlia It only suppresses the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants