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

Improvements to the NuGet UI package selections in Visual Studio - Transitive package in the projects list should not be selected by default #13940

Open
gordon-matt opened this issue Nov 19, 2024 · 5 comments
Labels
Functionality:VisualStudioUI Priority:1 High priority issues that must be resolved in the current sprint. RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 Type:Bug

Comments

@gordon-matt
Copy link

gordon-matt commented Nov 19, 2024

NuGet Product(s) Affected

Visual Studio Package Management UI

Current Behavior

I just had to manually update dozens of NuGet packages (mostly the latest 8.*.* Microsoft packages) for dozens of projects in a single solution.. each package one-by-one.. VERY time consuming, and I reckon there are 2 things that can be improved to save time in these situations

Desired Behavior

  1. We didn't want to update to .NET 9 packages yet.. only the latest 8.*.* packages. There should be a way to filter packages by specified .NET target framework, so we can bulk update all packages to whatever we want. So in our case, we're targeting .NET 8, so all latest 8.*.* packages should show.. not any .NET 9 packages.

  2. When updating a NuGet package, the default checked projects should ONLY include those where the package is top-level, not transitive. We have almost 200 projects in the solution and it's annoying when updating a NuGet package auto selects all projects whether it's top-level or transitive. Maybe a dropdown to select "all/none/top-level only" would be good here? Otherwise just don't auto select the transitive ones, please. Unless maybe transitive is all there is for the selected package.

Additional Context

No response

@gordon-matt gordon-matt added Triage:Untriaged Type:DCR Design Change Request labels Nov 19, 2024
@Pilchard123
Copy link

I agree with both of your points (in fact I found this by checking before raising them myself), though I suspect you may get better traction if they were separate issues - one for not auto-selecting transitive references, and one for filtering by target framework.

@martinrrm
Copy link
Contributor

martinrrm commented Nov 20, 2024

Hi! Thank you for your feedback, I agree with you on the not auto select transitive references, for number one I think it's a duplicate of #6566. Since you already have some traction in this ticket, I'll suggest editing the description to just mention the "not auto select transitive references".

@Pilchard123
Copy link

@martinrrm - I suspect you linked the wrong issue, because this is 13940.

@martinrrm
Copy link
Contributor

Updated the issue link

@nkolev92 nkolev92 changed the title Improvements to the NuGet UI package selections in Visual Studio Improvements to the NuGet UI package selections in Visual Studio - Transitive package in the projects list should not be selected by default Nov 25, 2024
@nkolev92 nkolev92 added Type:Bug Priority:1 High priority issues that must be resolved in the current sprint. RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 and removed Type:DCR Design Change Request labels Nov 25, 2024
@nkolev92
Copy link
Member

nkolev92 commented Nov 25, 2024

1 is #5725
We'll track 2 specifically in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:VisualStudioUI Priority:1 High priority issues that must be resolved in the current sprint. RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 Type:Bug
Projects
None yet
Development

No branches or pull requests

4 participants