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

Add option for installing prerelease packages to dotnet add package #5517

Closed
livarcocc opened this issue Jun 30, 2017 · 2 comments
Closed

Add option for installing prerelease packages to dotnet add package #5517

livarcocc opened this issue Jun 30, 2017 · 2 comments
Assignees
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Style:PackageReference
Milestone

Comments

@livarcocc
Copy link

From @svick on June 30, 2017 10:48

Currently, when I want to add a prerelease package to a project, I have to explicitly specify its version. For example: dotnet add package System.Memory does not work, but dotnet add package System.Memory -v 4.4.0-preview2-25405-01 does.

This is inconvenient when I want to install the latest version of the package, even if it's prerelease. So I propose that a new --prerelease option should be added to dotnet add package, which would allow installing prerelease packages without having to explicitly specify package version.

This is similar the the -IncludePrerelease option to Install-Package.

Copied from original issue: dotnet/cli#7043

@mishra14 mishra14 assigned mishra14 and emgarten and unassigned mishra14 Jun 30, 2017
@mishra14
Copy link
Contributor

@emgarten restore should consider supporting --pre-release as we have discussed in the past.

@mishra14 mishra14 self-assigned this Jun 30, 2017
@mishra14
Copy link
Contributor

Closing as dupe of #4699

@mishra14 mishra14 added Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Style:PackageReference labels Jul 10, 2017
@rrelyea rrelyea added this to the 4.3 milestone Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Style:PackageReference
Projects
None yet
Development

No branches or pull requests

4 participants