C#C
C#2y ago
felpsey

WinUI3 project will not launch when packaged with Windows Application Packaging Project

I am losing my mind with WinUI3 and packaging the app without distributing to the Microsoft Store, why is it so difficult to distribute a WinUI3 app?

Project structure:

  • App1 (Blanck App, Packaged (WinUI 3 in DesktOP)
  • WapProjTemplate1 (Windows Application Packaging Project)
Steps to reproduce issue:

  • Add App1 as an Application depedency in WajProTemplate1
  • Build solution
  • WapProjTemplate1 > Publish > Create App Packages
  • Go to MSIX bundle, run PowerShell script to install dependencies and app
  • Open installed app
  • App crashes
Was this page helpful?