Home: Cannot uninstall newly installed package

Created on 30 Jan 2017  路  3Comments  路  Source: NuGet/Home

vsfeedback with vs2017 26120.4 (test scenario day build) - 746023
Filed by @dtivel

  1. Open the solution in the attached "ClassLibrary (2).zip" file.
  2. In File Explorer, copy the path of the directory that would contain the ClassLibrary.1.0.0.nupkg package. For example, C:\Users\dtivel\Documents\Visual Studio 2017\Projects\ClassLibrary\ClassLibrarybin\Debug
  3. In Visual Studio navigate on the main menu to Tools鈥瘄鈥疦uGet Package Manager鈥瘄鈥疨ackage Manager Settings.
  4. In the subsequent Options dialog, in the left-hand tree pane click on Package Sources.
  5. In the right-hand details pane, click the green plus button to create a new package source.
  6. At the bottom of the dialog paste the copied package folder path into the Source text box.
  7. Click Update.
  8. Click OK.

SEE THE REST IN THE VSFEEDBACK ITEM

VS.Client PackageReference Bug

All 3 comments

Root cause of this issue is similar to https://github.com/NuGet/Home/issues/4433 and would be fixed with this PR# https://github.com/NuGet/NuGet.Client/pull/1157

There is another scenario which will fault into same issue.

  1. Create 2 .net framework class library -> library1, and library2
  2. Add a NuGet package to library1 as packages.config
  3. Open NuGet manager UI at solution level, and try to add another package to both the projects.
  4. It will show "select package format dialog to choose between packages.config vs PackageReference for library2 project.
  5. Select PackageReference and continue, it will fault into same issue and throw error to install this package.

As we punted #4433 to 4.0.1, we will with this also. thx.

Fixed in 4.0 RTM since #4433 is fixed and merged.

Was this page helpful?
0 / 5 - 0 ratings