C
C#•3y ago
HimmDawg

WinUI3 app doesn't run outside of Visual Studio

I just tried to share a tool I made in WinUI3 with .NET6. That shouldn't be a problem with the publish feature in Visual Studio, right? Well, for some reason winui apps wont run in any configuration at all after publishing them to a folder. So then I built my application in release mode again and grabbed the generated files. I thought this would run no problem, but it wouldn't. Same goes for files in debug mode. I must be missing a key information here...
3 Replies
Buddy
Buddy•3y ago
Unfortunately Microsoft is just not listening. Portable executables are dead, and you cannot generate them either. MSIX is the way to go via installation and only works on Windows 10 1809 and above.
HimmDawg
HimmDawgOP•3y ago
Oh, okay 😦 that's stupid I guess I'll need to add this MSIX package installer project then
jcotton42
jcotton42•3y ago
I think unpackaged Win UI 3 is coming? But yeah, it's a giant mess

Did you find this page helpful?