NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 252 forks source link

Error List is not cleared of package install errors in CodeSpaces after doing another install / uninstall action #10545

Closed jebriede closed 10 months ago

jebriede commented 3 years ago

Details about Problem

NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): Visual Studio

Product version: 16.10 Preview 1

Worked before? If so, with which NuGet version: In local scenarios it works

Repro steps and/or sample project

  1. Open PMUI
  2. Click on Browse Tab
  3. Search for System.Linq.Expressions and install version 4.0.0
  4. Search for Moq install version 4.16.0
  5. An expected error will occur and be shown in the Error List: "Detected package downgrade: System.Linq.Expressions from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version."
  6. Now, uninstall System.Linq.Expressions or do any other install / uninstall action that does not result in an error.

Expected: The error messages should be cleared from the Error List.

Actual: The error messages from the failed operation of trying to install Moq after installing an older version of System.Linq.Expressions than what Moq requires persist in the Error List and in every action taken, they show up again which creates confusion, giving the impression that the errors occurred again.

This works in a non-Codespaces scenario

image

Verbose Logs

rrelyea commented 3 years ago

targeting 16.10, as standalone works fine, which is 16.9 qb mode priority.

rrelyea commented 3 years ago

believe it is a dupe of #10140

donnie-msft commented 10 months ago

Closing CodeSpaces issues.