Skip to content

Fix CI build failures for WinAppSDK project#67

Merged
TheJoeFin merged 2 commits intoupdate-bumpfrom
copilot/fix-ci-failures-winapp-sdk
Mar 4, 2026
Merged

Fix CI build failures for WinAppSDK project#67
TheJoeFin merged 2 commits intoupdate-bumpfrom
copilot/fix-ci-failures-winapp-sdk

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

The build workflow failed because it targeted the full solution, which pulls in the .wapproj packaging project — incompatible with dotnet build (missing Microsoft.DesktopBridge.props) and broken with msbuild too (CsWinRT resolved system SDK 10.0.22621.0 instead of the NuGet-provided 10.0.26100.38, causing a missing Platform.xml error).

Changes

  • Build only the main .csproj instead of the solution, bypassing the .wapproj entirely (MSIX packaging is irrelevant for CI validation)
  • Scoped dotnet restore to the same .csproj
  • Added -p:Platform=x64 since WinAppSDK/WinUI projects do not support AnyCPU
- name: Restore dependencies
  run: dotnet restore "Simple Icon File Maker/Simple Icon File Maker/Simple Icon File Maker.csproj"

- name: Build
  run: dotnet build "Simple Icon File Maker/Simple Icon File Maker/Simple Icon File Maker.csproj" --configuration Release --no-restore -p:Platform=x64

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Mar 4, 2026
…avoid wapproj issues

Co-authored-by: TheJoeFin <7809853+TheJoeFin@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI failures in WinAppSDK project Fix CI build failures for WinAppSDK project Mar 4, 2026
@TheJoeFin TheJoeFin marked this pull request as ready for review March 4, 2026 02:54
@TheJoeFin TheJoeFin merged commit 557114d into update-bump Mar 4, 2026
@TheJoeFin TheJoeFin deleted the copilot/fix-ci-failures-winapp-sdk branch March 4, 2026 02:54
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.

2 participants