-
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
[Feature]: dotnet.exe add package support for projects onboarded onto central package management #11807
Comments
When using the CLI command The aim of this project will be to resolve this by enabling the dotnet CLI command to be used, regardless of whether the project has been onboarded to CPM or not. |
When we can expect a release of this functionality? :) |
cc @martinrrm |
Hey @martinrrm @kartheekp-ms - is this working? I see a few PRs merged, but can't seem to make it work with When I run <PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.2" /> This upsets CPM on
|
PR NuGet/NuGet.Client#4987 is merged into .NET SDK 7.0.2xx. You can download the daily .NET SDK build from https://github.com/dotnet/installer/blob/main/README.md#table until .NET SDK 7.0.2xx is released publicly. |
All the issues in this epic have been addressed. Hence closing this issue. |
Hey @martinrrm @kartheekp-ms - I am trying to update an existing package in the Directory.Packages.props file to the newest version. However when running I have the following installed |
@BenjaminBatman Can you open a bug issue for this so we can track upvotes and move the conversation there? I just tested this, and the behavior is not the expected one, I'll investigate more about. |
NuGet Product(s) Involved
dotnet.exe
The Elevator Pitch
The dotnet add package command provides a convenient option to add or update a package reference in a project file. If the repo has been onboarded onto
Central Package Management
feature then the said command should add package reference to project (no version) and add a package version to the props file. Few scenarios to consider during implementation.Additional Context and Details
No response
Epic details
The text was updated successfully, but these errors were encountered: