-
Notifications
You must be signed in to change notification settings - Fork 258
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
nuget.exe update should support project.json #1276
Comments
What is * versioning not supporting it?
|
That won't pick up pre-release. |
Perhaps that's what we should fix? Cc @davidfowl I'm not really following why '*' doesn't work. What exactly is the test trying to do? * works for the latest with prerelease. |
4.0.0-* will pick up the latest pre-release constrained to 4.0.0. |
You can also use just *? |
'*' will only pick up latest stable with no constraints on 3-part version. |
So if w had support for
Etc That will solve your problem? |
Yeah, here are the ones I think we'd use: '-', '4.-', '4.0.-'. I can imagine other folks using a branch specifier in the pre-release string so you'd probably want to support something like '-beta-' where it would permit latest pre-release so long as it matched the partial release string. |
Duplicate of #4103 |
This functionality is essential to test nuget packages.
We want to have checked in test projects that depend on some minimum version of a packages.
*
versioning in the project.json does not achieve either of these scenarios. Previously we used nuget update. Now that nuget3 has dropped most of the things that write to the csproj this should be even easier than before. Please bring back nuget.exe update.We can't really do this ourselves easily because it involves nuget making queries to the feeds to determine what version to update to.
The text was updated successfully, but these errors were encountered: