Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uwp app crash immediately after compiled with .net native toolchain

I'm creating an uwp app. My app works well in debug mode. But when compiled with .net native toolchain, which is essential to publish app to the Store, it crash immediately. I was trying to enable all the exception settings but it didn't hit any breakpoints. All the information I can get from the output is:

The program '[9548] DemoBuildError.exe' has exited with code -1073741511 (0xc0000139) 'Entry Point Not Found'. Activation of the Windows Store app '9e380736-23cf-476f-b625-be7baa70ad56_jatac5brr3jea!App' failed with error 'The app didn't start'.

I also try to create new project and copy, paste carefully as mentioned in some previous threads but no luck. Here is my demo project to reproduce the error: https://bitbucket.org/wpdev01/demobuilderror

Any ideas?

like image 734
CK01 Avatar asked Mar 06 '18 06:03

CK01


1 Answers

Since your repo is private, I'm also facing the same problem, I guess it's due to some third party controls your refered.

In my project, I unloaded all third party controls, it works fine again.

like image 178
Vincent Avatar answered Jan 06 '23 21:01

Vincent