问题描述
您好,
我正在使用Windows 10 Creators Update,作为UWP-s的新手,我使用XAML和C#在Visual Studio社区2017中创建了一个UWP。在没有添加任何自己的代码的情况下,我开始使用本机调试来调试UWP。启动画面出现,
消失,我收到以下错误消息:
I am using Windows 10 Creators Update and as a newbie to UWP-s I have created a UWP in Visual Studio Community 2017 using XAML and C#. Without having added any own code I started debugging the UWP using just native debugging. The splash screen appeared and disappeared and I got the following error message:
程序已终止,代码为-1073741792(0xc0000020)
The program has been terminated with code -1073741792 (0xc0000020)
激活Windows-Store应用程序...失败,出现错误"应用程序尚未启动"
Activation of the Windows-Store App ... has failed wit error "The App has not been started"
我该怎么办,请帮助!
Herbert Stejdir
Herbert Stejdir
推荐答案
不调试您的应用,只需构建您的应用,然后使用"启动而不调试(Ctrl + F5)"运行您的应用,结果如何?我们必须首先确保它没有编译错误或警告。
Not debug your app, just build your app, and then run your app using "start without debugging(Ctrl+F5)", how about the result? We have to make sure that it has no compiled error or warning firstly.
至少,我们可以知道它是否与VS Debugger工具有关。
At least, we could know that whether it is related to the VS Debugger tool.
当然,如果可能的话,请在输出窗口或错误列表窗口中分享详细的错误/警告信息。
Of course, if possible, please also share us the detailed error/warning messages in the output window or the Error list window.
最好的问候,
杰克
这篇关于UWP无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!