Skip to content

Extract pointer and RID packing into Inbox.targets - #18

Merged
kzu merged 2 commits into
mainfrom
dev/inbox
Aug 22, 2026
Merged

Extract pointer and RID packing into Inbox.targets#18
kzu merged 2 commits into
mainfrom
dev/inbox

Conversation

@kzu

@kzu kzu commented Aug 22, 2026

Copy link
Copy Markdown
Member

Inbox is now a packable package that ships non-transitive MSBuild targets for adapters that need pointer + RID native layout.

  • Inbox.targets (nupkg build/, not buildTransitive/) writes runtime.json, copies the native sidecar on project-reference builds, and packs RID-only assets
  • Pointer + RID split is opt-in via RuntimeIdentifiers + InboxNativeBinary
  • WhatsBox imports the targets and keeps only the Go sidecar build
  • CI packs Inbox first so WhatsBox / wd restore can consume it
  • Tests cover generated runtime.json via WriteInboxRuntimeJson

Apps that only want WhatsApp still PackageReference WhatsBox; packing targets are not transitive.

Inbox is now a packable package that ships non-transitive MSBuild
targets so adapters can share pointer + `dotnet pack -r` layout.
WhatsBox imports those targets and only keeps the Go sidecar build.
@kzu kzu added the enhancement New feature or request label Aug 22, 2026
@kzu
kzu enabled auto-merge (rebase) August 22, 2026 17:31
@kzu

kzu commented Aug 22, 2026

Copy link
Copy Markdown
Member Author

Automated fix: mapped Inbox/Inbox.* onto the local restore source so WhatsDemo can consume the CI-packed Inbox nupkg.

@kzu

kzu commented Aug 22, 2026

Copy link
Copy Markdown
Member Author

189 passed 189 passed
189 passed 189 passed

🧪 Details on Ubuntu 24.04.4 LTS
🧪 Details on Microsoft Windows 10.0.26100

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

@kzu
kzu merged commit f242bfd into main Aug 22, 2026
5 checks passed
@kzu
kzu deleted the dev/inbox branch August 22, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant