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

Error list shown although "Always show Error List if build finishes with errors" is not checked #8190

Closed
donnie-msft opened this issue Jun 4, 2019 · 1 comment · Fixed by NuGet/NuGet.Client#3225

Comments

@donnie-msft
Copy link
Contributor

Details about Problem

Developer Community: https://developercommunity.visualstudio.com/content/problem/177400/error-list-shown-although-always-show-error-list-i.html

NuGet causes Error List to popup during Build even when VS settings are set otherwise.

Detailed repro steps so we can see the same problem

  1. Create a .csproj-style project.
  2. Break the referenced NuGet packages in some way (eg, modify PackageReference or Packages.config to point to a nupkg version number that does not exist.
  3. Modify the VS settings so that "Always show Error List when a build fails" is unchecked.
  4. Compile the solution.
  5. The Error List will take focus.
    ...

Other suggested things

Verbose Logs

Please include verbose logs (NuGet.exe -verbosity detailed | dotnet.exe --verbosity diag | etc...)

Sample Project

Very helpful if you can zip a project and paste into this issue!

@zivkan
Copy link
Member

zivkan commented Oct 17, 2019

#8691 is a duplicate, but adds that if the error list is closed before restore, it will be displayed, even when there are no errors.

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