[英]Uwp app crash immediately after compiled with .net native toolchain
I'm creating an uwp app.我正在创建一个 uwp 应用程序。 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.
但是,当使用 .net 本机工具链(这是将应用程序发布到商店所必需的)进行编译时,它会立即崩溃。 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'.
程序“[9548] DemoBuildError.exe”已退出,代码为 -1073741511 (0xc0000139)“未找到入口点”。 Activation of the Windows Store app '9e380736-23cf-476f-b625-be7baa70ad56_jatac5brr3jea.App' failed with error 'The app didn't start'.
Windows 应用商店应用“9e380736-23cf-476f-b625-be7baa70ad56_jatac5brr3jea.App”的激活失败,出现错误“应用未启动”。
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
这是我重现错误的演示项目: https ://bitbucket.org/wpdev01/demobuilderror
Any ideas?有任何想法吗?
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.在我的项目中,我卸载了所有第三方控件,它又可以正常工作了。
in your case its quite a problem.在您的情况下,这是一个很大的问题。
debug and see what's next.调试并查看下一步。
in debug mode compiler optimizations are turned off but the app is should work the same.在调试模式下,编译器优化已关闭,但应用程序应该可以正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.