Skip to content

Conversation

Copy link

Copilot AI commented Nov 16, 2025

User requested confirmation ("aye or nay") on ability to build UWP app to MSIX format, then requested help to fix the GitHub Actions workflows.

Response: Aye - Build to MSIX is feasible with this codebase.

Changes Made

Fixed both GitHub Actions workflows to properly build the UWP application and generate MSIX packages:

1. Fixed msbuild.yml workflow

  • Added proper platform matrix (x64, x86) - UWP apps require platform specification
  • Fixed solution file path from "." to "eComBox.sln"
  • Added artifact upload for build outputs
  • Updated to use latest setup-msbuild@v2
  • Added proper MSBuild parameters for UWP builds without signing

2. Fixed dotnet-desktop.yml workflow

  • Renamed to "Build UWP MSIX" for clarity
  • Removed incorrect WAP (Windows Application Packaging) project references
  • Fixed environment variables (Solution_Name, AppxPackageDir)
  • Added conditional logic for signed vs unsigned MSIX builds
  • Removed non-existent unit test execution step
  • Simplified to Release configuration with x64 platform
  • Fixed artifact upload path to properly capture MSIX files

3. Added comprehensive documentation

  • Created .github/workflows/README.md with workflow descriptions, certificate configuration instructions, troubleshooting guide, and local development instructions

Key Improvements

  1. Works without secrets: Both workflows can run without requiring certificate secrets configured (will create unsigned packages for testing)
  2. Proper UWP build parameters: Uses correct MSBuild parameters for UWP apps
  3. Platform specification: Properly specifies x64/x86 platforms required for UWP
  4. Artifact uploads: Both workflows now upload build artifacts
  5. Clear documentation: Comprehensive README for workflow usage
  6. Security validated: CodeQL scan passed with 0 alerts
Original prompt

Can you help me build this UWP app to msix? Just answer me aye or nay


💡 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 changed the title [WIP] Build UWP app package for MSIX deployment Acknowledge feasibility of UWP to MSIX build capability Nov 16, 2025
Copilot AI requested a review from ecomter November 16, 2025 05:44
@ecomter
Copy link
Owner

ecomter commented Nov 16, 2025

@copilot Help me fix Github Action workflows

Co-authored-by: ecomter <72120650+ecomter@users.noreply.github.com>
Copy link
Author

Copilot AI commented Nov 16, 2025

@copilot Help me fix Github Action workflows

Fixed both GitHub Actions workflows in commit 8f7f324.

Changes made:

  1. msbuild.yml - Now properly builds UWP app with x64/x86 platforms
  2. dotnet-desktop.yml - Fixed to create MSIX packages with proper UWP parameters
  3. Added comprehensive documentation in .github/workflows/README.md

Both workflows now work without requiring certificate secrets (will create unsigned packages for testing). To sign packages, add Base64_Encoded_Pfx and Pfx_Key secrets to the repository.

Copilot AI changed the title Acknowledge feasibility of UWP to MSIX build capability Fix GitHub Actions workflows for UWP MSIX builds Nov 16, 2025
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