-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
nbgv tool doesn't support Central Package Management #1031
Comments
In what way would you want nbgv to recognise those? AFAIK it does not care about NuGet package references at all, so I don't see how the versions of the packages could matter. |
If Directory.Packages.Props is detected and ManagePackageVersionsCentrally is set to true, package versions should be stored in Directory.Packages.Props instead.
It is currently 1 am in the UTC+9 time zone where I am active. So I'll write more details after I sleep.
…________________________________
From: Kalle Olavi Niemitalo ***@***.***>
Sent: Wednesday, February 21, 2024 12:43:31 AM
To: dotnet/Nerdbank.GitVersioning ***@***.***>
Cc: na1307 ***@***.***>; Author ***@***.***>
Subject: Re: [dotnet/Nerdbank.GitVersioning] nbgv tool doesn't support Central Package Management (Issue #1031)
In what way would you want nbgv to recognise those? AFAIK it does not care about NuGet package references at all, so I don't see how the versions of the packages could matter.
—
Reply to this email directly, view it on GitHub<#1031 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYYANHL36HYI45GNT2CAJWDYUTACHAVCNFSM6AAAAABDRBR4AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJUGQ4TMMZZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Oh, I see |
I suspect that's what they're going for, yes. And I use CPM everywhere -- but I don't often use |
According to the documentation, the version must be omitted in the Build file and PackageVersion must be defined in the Packages file. For example: Directory.Packages.props:
Directory.Build.props:
|
nbgv doesn't recognize Directory.Packages.props and CPM.
The text was updated successfully, but these errors were encountered: