Cannot uninstall newly installed package #4435

Closed
rrelyea opened this Issue Jan 30, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@rrelyea
Contributor

rrelyea commented Jan 30, 2017

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\ClassLibrary\bin\Debug
  3. In Visual Studio navigate on the main menu to Tools | NuGet Package Manager | Package 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

@jainaashish

This comment has been minimized.

Show comment
Hide comment
@jainaashish

jainaashish Feb 1, 2017

Contributor

Root cause of this issue is similar to #4433 and would be fixed with this PR# NuGet/NuGet.Client#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.
Contributor

jainaashish commented Feb 1, 2017

Root cause of this issue is similar to #4433 and would be fixed with this PR# NuGet/NuGet.Client#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.

@rrelyea rrelyea modified the milestones: 4.0.1, 4.0 RTM Feb 1, 2017

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Feb 1, 2017

Contributor

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

Contributor

rrelyea commented Feb 1, 2017

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

@jainaashish jainaashish modified the milestones: 4.0 RTM, 4.0.1 Feb 13, 2017

@jainaashish

This comment has been minimized.

Show comment
Hide comment
@jainaashish

jainaashish Feb 13, 2017

Contributor

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

Contributor

jainaashish commented Feb 13, 2017

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

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