NuGet / Home

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

Uninstall package intellisense list contains the package which installed in other project #4147

Open AndyTian-Devops opened 7 years ago

AndyTian-Devops commented 7 years ago

NuGet version: 4.0.0.2098

OS version: Windows 10 RS1_Release 14393.693

VS Version: D15PreRel 26022.03

Repro Steps:

  1. Create a C# Web application(MVC).
  2. Add a .Net Framework Class Library(named MyClassLibrary) to the solution.
  3. Right Click MyClassLibrary project and select Manage NuGet Package... item.
  4. In the Browse tab, install a package(e.g. NUnit, make sure this package doesn't include in Web Application) to MyClassLibrary.
  5. After package install complete, open PMC.
  6. Input "Uninstall-package -ProjectName WebApplication1 " and press "tab" key. Make sure the intellisense list display.
  7. Browse the list.

Expected: NUnit should not display in the intellisense list since it is installed in MyClassLibrary project.

Actual: NUnit displays in the intellisense list. uninstalllist

AndyTian-Devops commented 7 years ago

This issue also happened on NuGet 3.4.4 1321 and NuGet 3.5.0.1938

v-luzh commented 2 months ago

It still reproes on VS Main\35221.199 + NuGet Client Dev\6.12.0.81.