[release/13.5] fix(release): Restore WinGet publication with .NET 9 wingetcreate

Merged
RA
2mo ago
+77-11

Description

Aspire 13.5 WinGet publication failed before opening the upstream PR:

wingetcreate.exe : You must install or update .NET to run this application.

The latest framework-dependent wingetcreate targets .NET 9, but the release agent did not have a compatible runtime. This installs the .NET 9 runtime before launching wingetcreate and runs wingetcreate info in regular preparation and selected release jobs so future runtime incompatibilities fail before a live submission.

The actual wingetcreate submit step remains restricted to non-dry-run production-branch runs.

Validation:

  • ReleasePublishNugetPipelineTests: 32 passed, 0 failed.
  • Azure DevOps run 3052264 installed .NET runtime 9.0.19 and successfully ran wingetcreate v1.12.13.0 info; submission remained skipped.

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No