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 https://github.com/adamralph/minver/issues/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 the PackageId / PackageVersion to be computed.
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 https://github.com/adamralph/minver/issues/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.