Add option for installing prerelease packages to dotnet add package #5517
Labels
Functionality:Restore
Resolution:Duplicate
This issue appears to be a Duplicate of another issue
Style:PackageReference
Milestone
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, butdotnet 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 todotnet add package
, which would allow installing prerelease packages without having to explicitly specify package version.This is similar the the
-IncludePrerelease
option toInstall-Package
.Copied from original issue: dotnet/cli#7043
The text was updated successfully, but these errors were encountered: