[P2] Publish managed and Native AOT variants through WinGet
Maintainers usually reply within 1 day
@nickna is already working on this.
Since Aug 6, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Publish both SharpTS Windows distributions through the WinGet Community Repository:
- Managed, self-contained SKU (full feature set)
- Native AOT SKU (faster startup with the documented Native AOT limitations)
The release workflow already produces and smoke-tests Windows x64 and ARM64 ZIP archives for both SKUs. This issue covers the remaining WinGet packaging, validation, initial submission, and update automation.
Recommended package model
Create two separate WinGet package identities because WinGet cannot select between managed and Native AOT installers of the same architecture within one package:
| Distribution | Package identifier | Command |
|---|---|---|
| Managed/default | SharpTS.SharpTS |
sharpts |
| Native AOT | SharpTS.SharpTS.NativeAOT |
sharpts |
The two packages should be documented as mutually exclusive. Keeping the same command preserves scripts and documentation when switching implementations. If side-by-side installation becomes a requirement, rename the Native AOT command to sharpts-aot instead.
Existing release assets
Use the versioned GitHub Release ZIP assets already produced by .github/workflows/publish.yml:
sharpts-<version>-win-x64.zipsharpts-<version>-win-arm64.zipsharpts-native-<version>-win-x64.zipsharpts-native-<version>-win-arm64.zip
Each archive contains a root-level sharpts.exe, LICENSE, and README.md. Both SKUs are standalone and should not declare a .NET package dependency in WinGet.
The initial submission must target a new successful tagged release with all four Windows assets. Do not target v1.0.8 because that release has no binary assets.
Manifest design
For each package identity, create the standard multi-file manifest set:
- Version manifest
- Default locale manifest (
en-US) - Installer manifest
Installer configuration:
InstallerType: zipNestedInstallerType: portable- x64 and ARM64 installer nodes
NestedInstallerFiles.RelativeFilePath: sharpts.exeCommands: [sharpts]- Version-specific GitHub Release URLs
- SHA-256 for each ZIP
- MIT license, repository, package, and release-notes URLs
- Managed description emphasizes the full feature set
- Native AOT description clearly lists its managed-only limitations
- Use the WinGet Community Repository's recommended manifest schema at submission time
Leave ArchiveBinariesDependOnPath unset so WinGet uses its normal portable-command link behavior.
Work items
- Run the existing
workflow_dispatchrelease-matrix dry run: 40483664022 passed all five managed and five native RID jobs at9111c66f98d18ad78f149b4e847e963ef1d21d83; repeat on the final frozen release ref before tagging. - Produce a successful tagged release containing all four required Windows ZIP assets.
- Retain the existing unsigned Windows portable-artifact policy documented in the release runbook. Authenticode signing is optional for this package model and can be added separately.
- Create the initial
SharpTS.SharpTSmanifests with WinGetCreate. - Create the initial
SharpTS.SharpTS.NativeAOTmanifests with WinGetCreate. - Validate both manifest directories with
winget validate. - Install each package from its local manifest and verify
sharpts --versionplus a basic interpreter/compiler smoke test. - Test PATH availability from a fresh terminal.
- Test uninstall cleanup for both packages.
- Test x64 and ARM64 installer selection.
- Test managed-to-Native-AOT and Native-AOT-to-managed switching.
- Test an upgrade between two package versions once an update manifest is available.
- Run the winget-pkgs
Tools/SandboxTest.ps1validation for both packages. - Submit separate initial PRs to
microsoft/winget-pkgs, one per package identity. - Complete Microsoft CLA/reviewer feedback and verify both packages after publication.
- Update the SharpTS README with the final
winget install --id ... -ecommands and the mutually-exclusive SKU guidance.
Release automation
After both initial package identities are merged into microsoft/winget-pkgs:
- Add a downstream Windows job after the GitHub Release job.
- Run
wingetcreate update SharpTS.SharpTSwith the managed x64/ARM64 asset URLs. - Run
wingetcreate update SharpTS.SharpTS.NativeAOTwith the native x64/ARM64 asset URLs. - Submit the generated updates automatically.
- Store the classic GitHub PAT in
WINGET_CREATE_GITHUB_TOKENwith the minimum requiredpublic_reposcope; do not pass it as a command-line argument. - Gate automation until the initial package manifests have been accepted.
- Submit only stable tags. If preview releases are needed later, use separate
.Previewpackage identities rather than WinGet channels.
Acceptance criteria
winget install --id SharpTS.SharpTS -einstalls the correct native-architecture managed binary and exposessharptsin a fresh terminal.winget install --id SharpTS.SharpTS.NativeAOT -einstalls the correct native-architecture Native AOT binary and exposessharptsin a fresh terminal.sharpts --versionreports the package/release version for both SKUs.- Install, upgrade, and uninstall work without interactive prompts or stale PATH entries.
- The Native AOT package description communicates its reduced feature surface before installation.
- Future stable GitHub releases automatically open WinGet update PRs for both identities only after all release assets have passed their existing smoke gates.
Preparation checkpoint (2026-10-30)
The initial manifest generator, both package identities, asset/hash/architecture validation and stable-only update workflow are prepared. Reused synthetic schema fixtures pass winget validate; they are not runnable release archives, real installed packages or submitted catalog entries. The latest stable release has no Windows binary assets. WINGET_CREATE_GITHUB_TOKEN is configured by name in winget-release, while automation remains disabled and no initial catalog manifests were found. Keep the real install/sandbox/architecture/switching/upgrade and upstream acceptance work above open until those actual gates pass. No stable version was chosen or submitted by this audit.
- Dominant language
- C#
- Stars
- 156
- Forks
- 4
- Avg merge
- 14h 45m
- Merged PRs (30d)
- 40
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nickna/SharpTS
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Maintainers usually reply within 1 day
Similar issues
-
elsa 3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
elsa-workflows/elsa-core#9349 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PereViader/ManualDi#200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Forrest-Technologies/drover#1040 ·
Maintainers usually reply within 1 day
-
todo
Difficulty 1/5 Under an hour Newbie friendliness 72/100
tonybaloney/CSnakes#864 ·