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

'Manage NuGet Packages for Solution' should provide UI to limit versions for packages #9082

Closed
vsfeedback opened this issue Jan 22, 2020 · 4 comments
Labels
Functionality:Update The update package feature/command/experience Functionality:VisualStudioUI Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:VS.Client Triage:NeedsTriageDiscussion Type:Feature

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


If I want to ensure that my Visual Studio solution does not update a package beyond a certain version, I can manually edit the packages.config file, but there should be a UI in 'Manage NuGet Packages for Solution' for this task.

https://docs.microsoft.com/en-us/nuget/concepts/package-versioning#semantic-versioning-200

My common scenario is that I want to ensure that I get all of the latest updates for Umbraco and related packages, but I do not want to be offered any that require me to upgrade Umbraco from version 7 to version 8.

If I do not manually edit the packages.config with:
allowedVersion=(,8.0)
... I get a lot of "noise" in the UI for package updates I would not want.


Original Comments

Visual Studio Feedback System on 11/1/2019, 00:21 AM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.

@rrelyea
Copy link
Contributor

rrelyea commented Jan 27, 2020

Interesting scenario to consider - related to Central Version Package Management - @anangaur @cristinamanum @zivkan

@rrelyea rrelyea added Functionality:Update The update package feature/command/experience Type:DCR Design Change Request labels Jan 27, 2020
@nkolev92
Copy link
Member

I guess the ask here is more about packages.config allowedversions concept.

@nkolev92 nkolev92 added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Feature and removed Type:DCR Design Change Request labels Jun 11, 2020
@anangaur
Copy link
Member

@aortiz-msft
Copy link
Contributor

Closing this old issue. Please feel free to create a new one if this is something you'd like to see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Update The update package feature/command/experience Functionality:VisualStudioUI Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:VS.Client Triage:NeedsTriageDiscussion Type:Feature
Projects
No open projects
Development

No branches or pull requests

8 participants