Skip to content

Add Microsoft.Windows.SDK.BuildTools.WinApp dependency for Windows apps - #36889

Merged
kubaflo merged 3 commits into
net11.0from
mattleibow/add-windows-sdk-buildtools-winapp
Jul 28, 2026
Merged

kubaflo merged 3 commits into
net11.0from
mattleibow/add-windows-sdk-buildtools-winapp

Conversation

@mattleibow

@mattleibow mattleibow commented Jul 28, 2026 •

Copy link
Copy Markdown
Member

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

Adds the Microsoft.Windows.SDK.BuildTools.WinApp NuGet package (v0.5.0) as a dependency for all MAUI Windows apps. This package provides MSBuild targets that enable dotnet run for MSIX-packaged Windows applications by automatically registering loose-layout packages and launching the app via winapp run.

Changes

  • eng/Versions.props — Add MicrosoftWindowsSDKBuildToolsWinAppPackageVersion version variable
  • eng/NuGetVersions.targets — Add central version pinning for the package
  • src/Core/src/Core.csproj — Add PackageReference in the Windows ItemGroup (flows transitively to all MAUI Windows apps)
  • .github/dependabot.yml — Add to WindowsAppSDK dependabot group for automated version bumps
  • src/Controls/samples/Controls.Sample/Properties/launchSettings.json — Update commandName to MsixPackage to match MSIX packaging mode

Add the Microsoft.Windows.SDK.BuildTools.WinApp NuGet package (v0.3.1) as a
dependency for all MAUI Windows apps. This package provides MSBuild targets
that enable 'dotnet run' for MSIX-packaged Windows applications by
automatically registering loose-layout packages and launching the app.

Changes:
- eng/Versions.props: Add version variable
- eng/NuGetVersions.targets: Add central version pinning
- src/Core/src/Core.csproj: Add PackageReference in Windows ItemGroup
- .github/dependabot.yml: Add to WindowsAppSDK group

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow
mattleibow temporarily deployed to copilot-pat-pool July 28, 2026 18:10 — with GitHub Actions Inactive
@mattleibow
mattleibow changed the base branch from main to net11.0 July 28, 2026 18:10
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36889

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36889"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@mattleibow
mattleibow temporarily deployed to copilot-pat-pool July 28, 2026 18:10 — with GitHub Actions Inactive
@mattleibow
mattleibow temporarily deployed to copilot-pat-pool July 28, 2026 18:12 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

Skill Validation Results

@mattleibow — new skill validation results are available based on this last commit: 24a5bd3.
To request a fresh validation after new comments or commits, comment /evaluate-skills.

Overall Passed Static Passed LLM Skipped Skills 24 Agents 6

✅ Skill Validation Results — 24a5bd3 · Add Microsoft.Windows.SDK.BuildTools.WinApp dependency for Windows apps · 2026-07-28T18:13:01Z

✅ Static Checks Passed

Skills: 24 | Eval specs linted: 14

Full lint output
── .github/skills/agentic-labeler/tests/eval.vally.yaml
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
✔ .github/skills/agentic-labeler/tests/eval.vally.yaml is valid
── .github/skills/analyze-sessions/tests/eval.vally.yaml
✔ .github/skills/analyze-sessions/tests/eval.vally.yaml is valid
── .github/skills/ci-fix/tests/eval.ownership.vally.yaml
✔ .github/skills/ci-fix/tests/eval.ownership.vally.yaml is valid
── .github/skills/ci-fix/tests/eval.vally.yaml
✔ .github/skills/ci-fix/tests/eval.vally.yaml is valid
── .github/skills/code-review/tests/eval.capability.vally.yaml
✔ .github/skills/code-review/tests/eval.capability.vally.yaml is valid
── .github/skills/code-review/tests/eval.inline-findings.vally.yaml
✔ .github/skills/code-review/tests/eval.inline-findings.vally.yaml is valid
── .github/skills/code-review/tests/eval.producer-trace.vally.yaml
✔ .github/skills/code-review/tests/eval.producer-trace.vally.yaml is valid
── .github/skills/code-review/tests/eval.trim-aot.vally.yaml
✔ .github/skills/code-review/tests/eval.trim-aot.vally.yaml is valid
── .github/skills/code-review/tests/eval.vally.yaml
✔ .github/skills/code-review/tests/eval.vally.yaml is valid
── .github/skills/code-review/tests/hermeticity.vally.yaml
✔ .github/skills/code-review/tests/hermeticity.vally.yaml is valid
── .github/skills/evaluate-pr-tests/tests/eval.vally.yaml
✔ .github/skills/evaluate-pr-tests/tests/eval.vally.yaml is valid
── .github/skills/pr-review/tests/eval.gh-auth.vally.yaml
✔ .github/skills/pr-review/tests/eval.gh-auth.vally.yaml is valid
── .github/skills/try-fix/tests/eval.vally.yaml
✔ .github/skills/try-fix/tests/eval.vally.yaml is valid
── .github/skills/verify-tests-fail-without-fix/tests/eval.vally.yaml
✔ .github/skills/verify-tests-fail-without-fix/tests/eval.vally.yaml is valid

⏭️ LLM Evaluation: Skipped

No changed skills with eval specs found.

🔍 Full results and investigation steps

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1f8d588b-4add-43c5-9c55-e943bef6ff3f
@mattleibow
mattleibow marked this pull request as ready for review July 28, 2026 20:25
Copilot AI review requested due to automatic review settings July 28, 2026 20:25
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Microsoft.Windows.SDK.BuildTools.WinApp as a transitive dependency for MAUI Windows targets so MSIX-packaged Windows apps can be launched via dotnet run (loose-layout registration + winapp run), and aligns the Controls sample’s Windows launch profile with MSIX packaging.

Changes:

  • Adds Microsoft.Windows.SDK.BuildTools.WinApp PackageReference for -windows TFMs in Core.csproj.
  • Introduces central version pinning for the new package (0.5.0) via eng/Versions.props + eng/NuGetVersions.targets.
  • Updates dependabot grouping and switches the sample launch profile to commandName: "MsixPackage".

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Core/src/Core.csproj Adds the WinApp build tools dependency for Windows TFMs so it can flow transitively to MAUI Windows apps.
eng/Versions.props Defines MicrosoftWindowsSDKBuildToolsWinAppPackageVersion (0.5.0).
eng/NuGetVersions.targets Centrally pins Microsoft.Windows.SDK.BuildTools.WinApp to the new version property.
.github/dependabot.yml Includes the new package in the existing WindowsAppSDK dependabot group.
src/Controls/samples/Controls.Sample/Properties/launchSettings.json Updates Windows launch profile to MsixPackage to match MSIX packaging mode.

@mattleibow mattleibow added this to the .NET 11.0-preview7 milestone Jul 28, 2026
@kubaflo

kubaflo commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

kubaflo pushed a commit that referenced this pull request Jul 28, 2026
…36891)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description

Bumps the Windows-related NuGet pins in `eng/Versions.props` to the
latest stable releases. These four properties are consumed centrally via
`eng/NuGetVersions.targets` (`<PackageReference Update=... />`), so this
single file is the only change needed.

| Package | Property | Old | New |
| --- | --- | --- | --- |
| `Microsoft.WindowsAppSDK` | `MicrosoftWindowsAppSDKPackageVersion` |
`1.8.251106002` | **`2.3.1`** |
| `Microsoft.Windows.SDK.BuildTools` |
`MicrosoftWindowsSDKBuildToolsPackageVersion` | `10.0.26100.4654` |
**`10.0.28000.2526`** |
| `Microsoft.Web.WebView2` | `MicrosoftWindowsWebView2PackageVersion` |
`1.0.3179.45` | **`1.0.4078.44`** |
| `Microsoft.Graphics.Win2D` | `MicrosoftGraphicsWin2DPackageVersion` |
`1.3.2` | **`1.4.0`** |

All four were verified as the latest *listed stable* versions against
the NuGet flat-container index.

### Windows App SDK 1.8 → 2.3.1 (major version jump)

This is the notable part of the change, so it got extra scrutiny. **No
source changes were required.** Findings:

- **No API/namespace churn.** The `Microsoft.UI.Xaml` surface that MAUI
consumes is unchanged; Core, Controls, Essentials and Graphics.Win2D all
compile against 2.3.1 with zero new errors.
- **No minimum-TFM bump.** `Directory.Build.targets` keeps
`TargetPlatformMinVersion`/`SupportedOSPlatformVersion` at
`10.0.17763.0`. WinAppSDK 2.x validates against
`WindowsSdkPackageVersion` (repo value `10.0.19041.44`) and that check
passes unchanged.
- **Bootstrapper / packaging behavior is unchanged for us.** Unpackaged
apps still resolve `WindowsAppSDKSelfContained=true` and packaged apps
still resolve `WindowsPackageType=MSIX`, exactly as before the bump. An
unpackaged self-contained publish was verified to emit the full
bootstrap set (`Microsoft.WindowsAppRuntime.Bootstrap.dll`,
`Microsoft.WindowsAppRuntime.Bootstrap.Net.dll`,
`Microsoft.WindowsAppRuntime.dll`) plus all expected `.pri` resources.
- **Transitive graph resolves cleanly** — `Microsoft.WindowsAppSDK.WinUI
2.3.0`, `Foundation 2.3.5`, `Base 2.0.4`, `Runtime 2.3.1`, etc.

### NuGet feeds

No `NuGet.config` change is required. All four versions were confirmed
present in the `dotnet-public` dnceng feed already configured by the
repo, and restore succeeds from the existing sources — `nuget.org` was
**not** added.

### Helix device tests

`eng/devices/run-windows-devicetests.cmd` derives the Windows App
Runtime installer URL by parsing major.minor out of
`MicrosoftWindowsAppSDKPackageVersion`, so it follows this bump
automatically with no edit. Verified that the resulting channel URL
`https://aka.ms/windowsappsdk/2.3/latest/windowsappruntimeinstall-x64.exe`
resolves successfully.

### Validation

All builds below were run against a **fully pristine tree** —
`artifacts/`, `.buildtasks/` and every `obj`/`bin` removed, with MSBuild
node reuse shut down first so no stale task assemblies were reused.

| Build | Result |
| --- | --- |
| `Microsoft.Maui.BuildTasks.slnf` (full, incl. both Windows TFMs) | ✅ 0
errors |
| `Maui.Controls.Sample` — `net11.0-windows10.0.19041.0` | ✅ 0 errors |
| `Maui.Controls.Sample` — `net11.0-windows10.0.20348.0` | ✅ 0 errors |
| `Essentials.Sample` (MSIX packaged) — `net11.0-windows10.0.19041.0` |
✅ 0 errors |
| `Core.DeviceTests` (MSIX packaged) — `net11.0-windows10.0.19041.0` | ✅
0 errors |
| `Core.DeviceTests` (unpackaged, self-contained publish, `win-x64`) | ✅
0 errors |

Build-only validation; no apps were launched. Warning counts are
unchanged from the pre-bump baseline.

### Notes

- `MicrosoftWindowsSDKBuildToolsWinAppPackageVersion` is intentionally
untouched — that property does not exist on `net11.0` and is owned by
#36889.
- `src/Templates/src/cgmanifest.json` contains the old version strings
but is auto-generated (regenerated in CI via
`eng/scripts/update-cgmanifest.ps1`) and is deliberately **not**
committed here.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 546491d2-db16-496e-97fa-41cfe758db9b
Copilot AI review requested due to automatic review settings July 28, 2026 22:05
@kubaflo
kubaflo merged commit f3a08b3 into net11.0 Jul 28, 2026
4 of 13 checks passed
@kubaflo
kubaflo deleted the mattleibow/add-windows-sdk-buildtools-winapp branch July 28, 2026 22:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@MauiBot MauiBot added s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) labels Jul 28, 2026
@MauiBot

MauiBot commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

AI Review Summary

@mattleibow — new AI review results are available based on this last commit: 73a3300.

Gate No Tests Confidence Low Platform Windows Build


🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix

Gate Result: ⚠️ SKIPPED

No tests were detected in this PR.

Recommendation: Add tests to verify the fix using the write-tests-agent.


📱 UI Tests — Button,Label,Layout

Detected UI test categories: Button,Label,Layout

✅ Deep UI tests — 344 passed, 0 failed across 3 categories on platform-pool agent (replaces in-process counts above).

🧪 UI Test Execution Results (deep, platform pool)

Category Tests Snapshot diffs
Button 69/70 ✓ —
Label 91/94 ✓ —
Layout 184/188 ✓ —
📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)

📋 Pre-Flight — Context & Validation

Issue: N/A - No linked issue found
PR: #36889 - Add Microsoft.Windows.SDK.BuildTools.WinApp dependency for Windows apps
Platforms Affected: Windows build/run tooling; Controls.Sample Windows launch profile
Files Changed: 6 implementation/configuration, 0 test

Key Findings

  • PR adds Microsoft.Windows.SDK.BuildTools.WinApp to src/Core/src/Core.csproj under the Windows TFM ItemGroup, with central version/dependabot updates.
  • PR changes src/Controls/samples/Controls.Sample/Properties/launchSettings.json to commandName: "MsixPackage" while the sample project still actively sets <WindowsPackageType>None</WindowsPackageType>.
  • Gate was already skipped because no tests were detected in this PR; no gate rerun was performed.

Code Review Summary

Verdict: NEEDS_CHANGES
Confidence: low
Errors: 1 | Warnings: 0 | Suggestions: 0

Key code review findings:

  • ✗ src/Controls/samples/Controls.Sample/Properties/launchSettings.json:4 conflicts with src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj:28; MsixPackage launch is paired with an explicitly unpackaged sample (WindowsPackageType=None).

Fix Candidates

# Source Approach Test Result Files Changed Notes
PR PR #36889 Add WinApp as a transitive Windows dependency from Core and switch Controls.Sample launch profile to MsixPackage ⚠️ Gate skipped; code review found issue .github/dependabot.yml, eng/NuGetVersions.targets, eng/Versions.props, src/Core/src/Core.csproj, src/Controls/samples/Controls.Sample/Main.razor, src/Controls/samples/Controls.Sample/Properties/launchSettings.json Original PR has sample packaging mismatch

🔬 Code Review — Deep Analysis

Code Review — PR #36889

Independent Assessment

What this changes: Adds Microsoft.Windows.SDK.BuildTools.WinApp as a Windows-only dependency of Microsoft.Maui.Core, centrally pins its version, adds it to Dependabot grouping, and changes the Controls sample Windows launch profile from Project to MsixPackage.

Inferred motivation: Enable packaged Windows MAUI apps to run through the newer WinApp CLI/build tooling path.

Reconciliation with PR Narrative

Author claims: The new package enables dotnet run for MSIX-packaged Windows apps and the sample launch profile is changed to match MSIX packaging mode.

Agreement/disagreement: The dependency/versioning changes match the stated goal. The launch profile claim does not match the project file: the Controls sample still explicitly sets <WindowsPackageType>None</WindowsPackageType>.

Prior Review Reconciliation

No prior ❌ Error findings found. Existing Copilot reviews generated no comments; inline review comments were empty.

Blast Radius Assessment

  • Runs for all instances: Yes, the new package flows transitively through Microsoft.Maui.Core for Windows TFMs.
  • Startup impact: No runtime startup code changed.
  • Static/shared state: No.

CI Status

  • Required-check result: undetermined/pending. gh pr checks --required was unavailable due missing GitHub auth. REST check runs for head SHA showed maui-pr queued/in-progress.
  • Classification: undetermined.
  • Action taken: capped confidence; per code-review rules, no LGTM while CI is pending/undetermined.

Findings

❌ Error — Sample launch profile now conflicts with unpackaged project configuration

src/Controls/samples/Controls.Sample/Properties/launchSettings.json:4 changes the Windows profile to:

"commandName": "MsixPackage"

But the same sample project still explicitly opts into unpackaged mode:

<WindowsPackageType>None</WindowsPackageType>

at src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj:28. The project comment at lines 34-39 also documents that WindowsPackageType=None should be paired with commandName: "Project", not MsixPackage.

As-is, Visual Studio/F5 for this sample is likely to attempt MSIX launch behavior for a project configured as unpackaged. Either revert the launch profile to Project, or remove/change the active WindowsPackageType=None if the sample is intended to become packaged.

Failure-Mode Probing

  • Unpackaged sample launched from VS: profile requests MsixPackage, but no MSIX package is configured because WindowsPackageType=None; launch/deploy can fail.
  • Apps not using packaged launch: transitive package dependency is build-time only and Windows-scoped; no runtime code path or handler lifecycle risk found.
  • Non-Windows TFMs: Core.csproj package reference is under $(TargetFramework.Contains('-windows')), so no Android/iOS/MacCatalyst impact expected.

Verdict: NEEDS_CHANGES

Confidence: low, because this is Windows build/tooling infrastructure and CI was pending/undetermined.
Summary: The package addition itself looks structurally consistent, but the sample launch profile change contradicts the project’s explicit unpackaged configuration and should be corrected before merge.


🛠️ Fix — Analysis & Comparison

Fix Candidates

# Source Approach Test Result Files Changed Notes
1 try-fix Keep WinApp dependency in Core, but revert Controls.Sample launch profile to Project so it matches WindowsPackageType=None ✅ Static PASS; ⚠️ build smoke BLOCKED by unrelated project.assets target issue 1 file relative to PR Best candidate under available evidence; narrowly fixes the review finding without changing sample packaging defaults
2 try-fix Keep MsixPackage launch profile and convert Controls.Sample to packaged-by-default by removing active WindowsPackageType=None ✅ Static PASS; ⚠️ build smoke BLOCKED by same unrelated issue 1 file relative to PR Coherent but broader behavior change for contributors running the sample
3 try-fix Move WinApp from Core to a buildTransitive MSIX-only implicit PackageReference ❌ FAIL 2 files relative to PR Fails restore-correctness validation because shipped target lacks consumer-visible package version
PR PR #36889 Add WinApp dependency through Core and switch Controls.Sample launch profile to MsixPackage ⚠️ Gate skipped; ❌ code review issue 6 files Original PR has launch profile/package type mismatch

Cross-Pollination

Model Round New Ideas? Details
gpt-5.5 / maui-expert-reviewer 1 Yes Revert only launchSettings.json to preserve unpackaged sample behavior while keeping WinApp package flow
claude-opus-4.7 / maui-expert-reviewer 1 Yes Make Controls.Sample packaged-by-default to align with MsixPackage, but noted this is riskier than candidate 1
gpt-5.3-codex / maui-expert-reviewer 1 Yes Scope WinApp as an implicit MSIX-only target dependency; validation found package-version/restore risk

Exhausted: Yes
Selected Fix: Candidate #1 — it directly fixes the concrete review finding with the smallest behavior change. Candidate #2 is coherent but changes Windows sample defaults, and candidate #3 fails restore-correctness validation. End-to-end Windows build/run validation was blocked by an unrelated existing sample restore asset issue, so selection is based on targeted static regression checks plus expert risk comparison.


📝 Recommended PR Title & Description

Assessment: ✏️ Recommend updating — the winning fix keeps the existing unpackaged Controls.Sample launch profile, while the current description says it changes that profile to MsixPackage and omits the related Windows package version bumps plus the Main.razor cleanup.

Recommended title

[Windows] Build: Add WinApp build tools dependency for MAUI apps

Recommended description

## Description

Adds the [`Microsoft.Windows.SDK.BuildTools.WinApp`](https://www.nuget.org/packages/Microsoft.Windows.SDK.BuildTools.WinApp) NuGet package (v0.5.0) as a Windows dependency for MAUI apps through `Microsoft.Maui.Core`. This package provides MSBuild targets that enable `dotnet run` for MSIX-packaged Windows applications by automatically registering loose-layout packages and launching the app via `winapp run`.

## Changes

- **`eng/Versions.props`** — Add `MicrosoftWindowsSDKBuildToolsWinAppPackageVersion` and update related Windows dependency versions:
  - `Microsoft.WindowsAppSDK` to `2.3.1`
  - `Microsoft.Windows.SDK.BuildTools` to `10.0.28000.2526`
  - `Microsoft.Graphics.Win2D` to `1.4.0`
  - `Microsoft.Web.WebView2` to `1.0.4078.44`
- **`eng/NuGetVersions.targets`** — Add central version pinning for `Microsoft.Windows.SDK.BuildTools.WinApp`.
- **`src/Core/src/Core.csproj`** — Add the `Microsoft.Windows.SDK.BuildTools.WinApp` `PackageReference` in the Windows ItemGroup so it flows transitively to MAUI Windows apps.
- **`.github/dependabot.yml`** — Add `Microsoft.Windows.SDK.BuildTools.WinApp` to the `WindowsAppSDK` Dependabot group for automated version bumps.
- **`src/Controls/samples/Controls.Sample/Main.razor`** — Remove the obsolete `PreferExactMatches` router parameter.

## Windows sample launch profile

`src/Controls/samples/Controls.Sample/Properties/launchSettings.json` remains on `commandName: "Project"` because `Maui.Controls.Sample.csproj` explicitly sets `<WindowsPackageType>None</WindowsPackageType>`. Keeping those settings aligned preserves the sample's existing unpackaged Windows launch behavior while the new WinApp dependency supports packaged MAUI Windows apps.

🏁 Report — Final Recommendation

Comparative Report — PR #36889

Candidate ranking

Rank Candidate Regression result Assessment
1 pr-plus-reviewer Static PASS; build smoke evidence inherited from equivalent try-fix-1 was blocked by unrelated assets issue Best candidate. It keeps the PR's Windows WinApp dependency flow and applies the expert reviewer's only actionable fix by restoring the sample launch profile to Project, matching <WindowsPackageType>None</WindowsPackageType>.
2 try-fix-1 Static PASS; Windows sample restore completed; build smoke BLOCKED by unrelated MauiRazorClassLibrarySample project.assets.json target issue Functionally equivalent to pr-plus-reviewer for the reviewer finding and validated with targeted static checks. Ranked below pr-plus-reviewer only because the requested reviewer-applied PR candidate is the direct path for this phase.
3 try-fix-2 Static PASS; build smoke BLOCKED by the same unrelated issue Coherent because it makes the sample packaged-by-default to match MsixPackage, but it is broader than necessary and changes contributor/sample behavior.
4 pr Gate skipped; expert review found a major build/MSBuild issue The raw PR keeps MsixPackage while the sample project remains explicitly unpackaged, creating a launch/debug mismatch.
5 try-fix-3 FAIL Must rank below passing candidates. Moving WinApp into buildTransitive implicit target injection failed restore-correctness validation because the shipped target lacked a consumer-visible package version.

Winning candidate

Winner: pr-plus-reviewer

pr-plus-reviewer wins because it addresses the expert reviewer's actionable finding with the smallest safe change: retain the new Microsoft.Windows.SDK.BuildTools.WinApp dependency and related version/dependabot updates, but do not change Controls.Sample to an MSIX launch profile while it remains unpackaged. This is lower risk than making the sample packaged-by-default and avoids the restore/versioning failure in try-fix-3.

Notes

  • The raw PR description should be updated if pr-plus-reviewer is used, because it currently claims launchSettings.json is changed to MsixPackage.
  • No regression test was added in the PR. The gate was skipped because no tests were detected; targeted static validation from STEP 5a is the available evidence for the launch-profile regression.

🧭 Next Steps — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-windows platform/windows s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants