-
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
PackageReference with a star in version is displayed under the updates tab/incorrectly represented in the installed tab #3788
Comments
It would be nice if VS allowed you to specify wildcards in the package manager in stead of us having to open the proj file directly |
I think that's linked but when, in the "Package Manager Console", when you list the packages installed (with Example: That's surely why "Nuget Package Manager` see it as "Should be updated"... Is there some update on this issue? Seems to be postponed since v4.0... 😢 |
I found this after searching and trying out different things for 20 minutes thinking I must be doing something wrong with the wildcard 😕 |
Yeah I really don't get why this has not been fixed yet. |
Any ETA? |
That's the type of issue, that completely prevent the use of wildcard (I had to fallback to hardcoded version 😢 ) and so to put in place an update strategy that let me think that the paket ( https://github.com/fsprojects/Paket ) community driven project is a lot better solution to manage dependencies in a .net project.... That's a shame that the nuget team don't borrow most of the excellent ideas brought by this solution to spread them to the all the .net developers and make nuget a correct dependency manager 😢 |
Any updates on this issue? |
This is still very relevant and a major pain point for many of us, I'm sure. |
Any update on this? Basically we can't use floating version at all? Why is it still listed as a feature in the documentations? |
You can use floating versions, it's just the package manager UI that doesn't show you the floating versions are being used. |
Yeah, but whyyy not? Also the UI breaks / removes the floating versions if you use it. |
100% agree. Just ran into this and spent time trying to figure out what I was doing wrong... |
Yes, as soon as you update using the package manager, it replaces the floating version with the fixed version. I would understand this logic if the package was replaced with a version that doesn't match the floating version pattern... I am using the floating version to provide our CI pipeline with some automation that ensure that all the latest components of our software package are building well together and run some automated tests. |
Hey all, You will be able to install custom versions, and packages that resolve to latest via a floating version won't be shown in the updates tab. Note that you can still cc @martinrrm |
Great. After How many YEARS was this solved? I don't even use VS/nugget any more... |
Is this really works? |
You can type a version to update to manually. When you click installing 7.0.0, it thinks you want to install 7.0.0. The free form version entering is only available in the project level UI. |
The problem is that I don't click "install". I click "update" which implicitly works like an install. But there is no other way through UI except picking the version manually for each project. |
@uhfath Hi! Using floating versions in the PM UI is only available for project level at the moment. Updating/Installing to a version using the versions combobox will override what you have in your project file. In your screenshot your version is |
@martinrrm Thanks for the info. |
It's a bit of a hack, but you can add |
@Zastai yep. It becomes hidden entirely even though there is an update to the minor version. |
This problem is still present |
I'm facing this problem still and very unconvenient |
Steps
Expected
No updates displayed, and the correct package info is shown
Actual
An update is displayed and no package info
Another customer report:
https://developercommunity.visualstudio.com/content/problem/277887/nuget-package-manager-doesnt-respect-package-refer.html
Another scenario: #3101
[SPEC]
https://github.com/NuGet/Home/wiki/%5BSpec%5D-NuGet-Build-Integrated-Project-handling-of-floating-versions-and-ranges-in-Visual-Studio-Client
The text was updated successfully, but these errors were encountered: