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

update-package trying to use packageid,version instead of package.version #2771

Closed
myusrn opened this issue May 12, 2016 · 2 comments
Closed
Assignees
Labels
Functionality:Update The update package feature/command/experience Type:Bug
Milestone

Comments

@myusrn
Copy link

myusrn commented May 12, 2016

i'm running the current vs15upd2 nuget package manager extension 3.4.3.855 and am finding that attempts to use package manager console update-package command results in it trying to execute update with a ',' in the fully qualified package name instead of a '.' and so the update fails.

repo steps
PM>update-package My.Package.Id -source d:\src\temp\packages -includeprerelease -version 0.0.0-alpha-1

expected
that it looks for fully qualified package name "My.Pacakage.Id.0.0.0-alpha-1.nupkg" in specified source

actual
it looks for fully qualified package name "My.Pacakage.Id,0.0.0-alpha-1.nupkg" in specified source, i.e. it inserts a comma between packageid and version instead of a period

workarounds
haven't found one yet

@jainaashish
Copy link
Contributor

There is a ',' only in error message while for actual call, we use '.' I'll add space in error message to avoid confusion.

Other than this, i'm not able to repro this issue. Please share a small repro project.

@rrelyea rrelyea modified the milestones: 3.4.5, 3.5 RC May 12, 2016
@rrelyea rrelyea added the Functionality:Update The update package feature/command/experience label May 12, 2016
jainaashish added a commit to NuGet/NuGet.Client that referenced this issue May 13, 2016
@jainaashish
Copy link
Contributor

opened another issue to have consistency with or without -Version parameter (#2807). And as part of this issue, I'll fix error message confusion.

@zhili1208 zhili1208 modified the milestones: 3.5 Beta2, 3.6 Beta Jun 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Update The update package feature/command/experience Type:Bug
Projects
None yet
Development

No branches or pull requests

4 participants