Skip to content

fix: suppress NETSDK1198 missing win-AnyCPU.pubxml warning in TodoApp.Uno#556

Merged
adrianhall merged 1 commit into
CommunityToolkit:mainfrom
adrianhall:issues/542
Jul 11, 2026
Merged

fix: suppress NETSDK1198 missing win-AnyCPU.pubxml warning in TodoApp.Uno#556
adrianhall merged 1 commit into
CommunityToolkit:mainfrom
adrianhall:issues/542

Conversation

@adrianhall

Copy link
Copy Markdown
Collaborator

Summary

Adds NETSDK1198 to the existing <NoWarn> list in samples/todoapp/TodoApp.Uno/Directory.Build.props, alongside NU1507, NETSDK1201, and PRI257.

Root cause

Uno's WinAppSDK/MSIX packaging pipeline for the Windows head triggers a partial publish-profile lookup during a plain dotnet build, warning that a conventionally-named win-AnyCPU.pubxml publish profile is missing. This sample never publishes/packages in CI (Debug-only, build-only pipeline), so the profile isn't needed. This is the same class of noise already suppressed for NETSDK1201 in the same file.

Verification

Since this only reproduces on the windows head (Windows runner), I dispatched the Build Samples workflow (workflow_dispatch) on this branch in my fork and confirmed:

Fixes #542

….Uno

The Uno WinAppSDK/MSIX packaging pipeline triggers a partial publish-profile
lookup during a plain 'dotnet build', warning that win-AnyCPU.pubxml is
missing even though this sample never publishes/packages in CI. Suppress it
alongside the existing NETSDK1201/NU1507/PRI257 build-only-CI noise.

Fixes CommunityToolkit#542
@adrianhall adrianhall merged commit bbc7324 into CommunityToolkit:main Jul 11, 2026
20 checks passed
@adrianhall adrianhall deleted the issues/542 branch July 11, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TodoApp.Uno: NETSDK1198 missing win-AnyCPU.pubxml publish profile warning on windows head

1 participant