[Feature]: Add msbuild extension point to better support auto-versioning helpers #11617
Labels
Functionality:Pack
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:dotnet.exe
Type:Feature
NuGet Product(s) Involved
MSBuild.exe
The Elevator Pitch
Allow NuGet to provide a msbuild public extension point for calculating proper package id/version that would allow auto-versioning helpers to better integrate with NuGet (e.g MinVer).
Additional Context and Details
The problem is that today, most if not all auto-versioning helpers are unable to insert correctly into NuGet msbuild dependencies. See this issue adamralph/minver#675 for more details.
Proposal is to add a public target e.g
NuGetPrepareForPackageIdAndVersion
that would allow auto-versioning helpers to insert correctly into NuGet, just before_GetOutputItemsFromPack
where we are actually requiring thePackageId
/PackageVersion
to be computed.The text was updated successfully, but these errors were encountered: