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

Incorrect package id case for PackageReference added by Package Manager console #5532

Open
mrward opened this issue Jul 4, 2017 · 0 comments
Labels
Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:VS.PMConsole Style:PackageReference
Milestone

Comments

@mrward
Copy link
Member

mrward commented Jul 4, 2017

Details about Problem

NuGet product used: Package Manager Console

NuGet version: 4.3.0.4199

VS version: VS 2017 15.3.0 Preview 3.0

Detailed repro steps so we can see the same problem

  1. Create a .NET Core console project.
  2. Open the Package Manager Console
  3. Run: install-package newtonsoft.json

Expected result:

PackageReference added to .csproj with the correct case for the package id:

<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />

Actual result:

Package id case seems to be taken from the install-package command line:

<PackageReference Include="newtonsoft.json" Version="10.0.3" />

Whilst this does not break anything it would probably be better that the PackageReference added should match what is added when using the Visual Studio manage packages UI.

@mishra14 mishra14 added this to the Future-0 milestone Jul 5, 2017
@rrelyea rrelyea modified the milestones: 15.4, Future-0, 4.4 Jul 18, 2017
@nkolev92 nkolev92 modified the milestones: 4.4, Backlog Nov 10, 2017
@nkolev92 nkolev92 added the Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. label Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:VS.PMConsole Style:PackageReference
Projects
None yet
Development

No branches or pull requests

7 participants