首页 > 解决方案 > Cannot run Xamarin UWP App in Release mode

问题描述

I am currently working on a multi-platform Xamarin app, targeting iOS and UWP. Everything is fine on iOS, but I have trouble deploying on Windows in Release mode.

In Debug mode, there is no problem. My app can be compiled, deployed and packaged. In Release, I can compile my project, but it crashes at start, with this output:

The program '[1820] MyProject.exe' has exited with code -1073741189 (0xc000027b).
Activation of the Windows Store app 'MyProjectFullNamePackage!App' failed with error 'Operation not supported. Unknown error: 0x80040905'.

I spent days looking for a solution on internet, and I tried to :

And almost everything I found on forums...

UWP Target version: 1903 (Build 18362) UWP Min version: 1803 (Build 17134) My OS SDK version: 17134

Xamarin: up to date.

:(

标签: xamarinuwpcrashrelease

解决方案


推荐阅读