Skip to content

Add standalone optional model MSIX sample - #26

Merged
mahabayana merged 1 commit into
mainfrom
users/mahabayana/add-optional-msix-minimal-sample
Oct 16, 2026
Merged

mahabayana merged 1 commit into
mainfrom
users/mahabayana/add-optional-msix-minimal-sample

Conversation

@mahabayana

@mahabayana mahabayana commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add Samples/OptionalMsixMinimal, a standalone Windows Forms sample demonstrating a separate, content-only optional MSIX containing an ONNX model. Link the sample from Samples/README.md.

Design and behavior

  • Main app and optional model package have separate manifests and deployment lifecycles.
  • The app loads a model catalog, reuses an installed optional package or acquires one with SHA-256 verification, and runs the demo model (y = 2x + 1).
  • Optional-package removal includes confirmation and preserves the main app.
  • Includes actual PNG assets, a small base64-encoded ONNX model, standalone build configuration, and build/sign/certificate/cleanup scripts.
  • Packaging, certificate trust, signing, and installation are separate explicit steps.
  • Dependencies use public nuget.org packages; no runtime implementation or prebuilt packages are included.

Affected samples

Samples/OptionalMsixMinimal; sample index at Samples/README.md.

@mahabayana
mahabayana merged commit 0aac11d into main Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants