title: Cannot run Xamarin UWP App in Release mode
body: <p>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.</p>
  
  <p>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:</p>
  
  <pre><code>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'.
  </code></pre>
  
  <p>I spent days looking for a solution on internet, and I tried to :</p>
  
  <ul>
  <li>Create a package in Release mode and install it on another PC</li>
  <li>Compile with Native debugger to get more log</li>
  <li>Change my SDK version</li>
  <li>Clean, delete bin/obj, delete .vs, restart VS, rebuilding etc</li>
  <li>Restore Nuget packages</li>
  <li>Increase the app version</li>
  </ul>
  
  <p>And almost everything I found on forums...</p>
  
  <p>UWP Target version: 1903 (Build 18362)
  UWP Min version: 1803 (Build 17134)
  My OS SDK version: 17134</p>
  
  <p>Xamarin: up to date.</p>
  
  <p>:(</p>