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

Comments

Projects
None yet
4 participants
@myusrn

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

This comment has been minimized.

Show comment
Hide comment
@jainaashish

jainaashish May 12, 2016

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.

Contributor

jainaashish commented May 12, 2016

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.

jainaashish added a commit to NuGet/NuGet.Client that referenced this issue May 12, 2016

jainaashish added a commit to NuGet/NuGet.Client that referenced this issue May 12, 2016

@rrelyea rrelyea modified the milestones: 3.4.5, 3.5 RC May 12, 2016

@rrelyea rrelyea added the Type:Bug label May 12, 2016

jainaashish added a commit to NuGet/NuGet.Client that referenced this issue May 13, 2016

@jainaashish

This comment has been minimized.

Show comment
Hide comment
@jainaashish

jainaashish May 17, 2016

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.

Contributor

jainaashish commented May 17, 2016

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