Skip to content

Normalize NuGet package metadata part names - #2798

Merged
Widthdom merged 2 commits into
mainfrom
fix-issue2756
May 31, 2026
Merged

Normalize NuGet package metadata part names#2798
Widthdom merged 2 commits into
mainfrom
fix-issue2756

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add a repo-local package normalizer that rewrites NuGet core-properties .psmdcp entries to a stable archive path.
  • Run the normalizer in the release workflow before package validation, hashing, and publishing.
  • Document the package reproducibility boundary and add a bilingual changelog fragment.

Validation

  • dotnet build tools/CodeIndex.PackageNormalize/CodeIndex.PackageNormalize.csproj
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~ReleaseWorkflowTests" -p:EnableAotAnalyzer=false
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

Note: the same focused test without -p:EnableAotAnalyzer=false currently fails on existing Native AOT IL3050 analyzer errors tracked by #2786.

Documentation / Changelog

  • Updated DEVELOPER_GUIDE.md.
  • Added changelog.d/unreleased/2756.fixed.md.

Follow-up candidates

Fixes #2756

@Widthdom
Widthdom merged commit 355c96f into main May 31, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue2756 branch June 3, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NuGet package archives still vary by generated core-properties part name

1 participant