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

Make PackageReference the default in Visual Studio #12388

Open
JonDouglas opened this issue Jan 27, 2023 · 3 comments
Open

Make PackageReference the default in Visual Studio #12388

JonDouglas opened this issue Jan 27, 2023 · 3 comments
Labels
Priority:2 Issues for the current backlog. Product:VS.Client Style:PackageReference Type:DCR Design Change Request

Comments

@JonDouglas
Copy link
Contributor

NuGet Product(s) Affected

Visual Studio Package Management UI

Current Behavior

Currently in a fresh install of Visual Studio 2022, the default package management format is set to Packages.config.

This tends to throw people off with certain project types that do support PackageReference which requires the user to figure out the current behavior, NuGet options, and change the default behavior after removing the packages.config file to restart.

image

Desired Behavior

We should change the default behavior to PackageReference in this dropdown.

Additional Context

No response

@JonDouglas JonDouglas added Type:DCR Design Change Request Triage:Untriaged labels Jan 27, 2023
@ericstj
Copy link

ericstj commented Jan 27, 2023

It might also be nice to have something that would steer folks towards PackageReference if they were using packages that might benefit from it (analyzers, projectreference to a project using PackageReference, etc)

@nkolev92
Copy link
Member

Related: #8980

@mathieubergouniouxcab
Copy link

As someone who is not a Nuget buff, I can confirm that it took me half a day of work to even realise the existence of this kind of obscure setting, while I was trying to package a project with its project dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:2 Issues for the current backlog. Product:VS.Client Style:PackageReference Type:DCR Design Change Request
Projects
None yet
Development

No branches or pull requests

5 participants