Skip to content

Keep the ThisAssembly meta-package private to referencing projects - #518

Merged
kzu merged 1 commit into
mainfrom
dev/meta-package-private-assets
Sep 28, 2026
Merged

kzu merged 1 commit into
mainfrom
dev/meta-package-private-assets

Conversation

@kzu

@kzu kzu commented Sep 28, 2026

Copy link
Copy Markdown
Member

Summary

  • The ThisAssembly meta-package did not ship the same PackageReference update the other ThisAssembly.* packages already use.
  • Referencing projects now mark ThisAssembly as PrivateAssets=all and PackTransitive=false, so NuGetizer does not pack its dependencies as private assets and the analyzers stay in the referencing project.

Test plan

  • Pack ThisAssembly and confirm build/ThisAssembly.targets is in the nupkg
  • Reference the package from a project that uses NuGetizer and confirm the ThisAssembly.* dependencies are not packed as private assets

@kzu kzu added the bug Something isn't working label Sep 28, 2026
@kzu
kzu enabled auto-merge (rebase) September 28, 2026 01:42
@kzu

kzu commented Sep 28, 2026 •

Copy link
Copy Markdown
Member Author

45 passed 45 passed
45 passed 45 passed
45 passed 45 passed

🧪 Details on macOS Unix 26.6.2
🧪 Details on Ubuntu 24.04.5 LTS
🧪 Details on Microsoft Windows 10.0.26100

from retest v1.1.0 on .NET 10.0.12 with 💜 by @devlooped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant