应用程序无法在调试模式下激活 [英] App Failed to Activate in debug mode

查看:187
本文介绍了应用程序无法在调试模式下激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Windows 10上安装了VS 2017 on OS build 15063.138。 我用一行ZAML代码创建了一个简单的通用应用程序。 我用C#语言。  

I just installed VS 2017 on Windows 10 on OS build 15063.138.  I made a simple Universal app with one line of ZAML code.  I used C# for the language.  

我收到"无法激活Windows应用商店应用..."应用无法启动"在调试模式下从VS 2017启动应用程序时出错。 我从VS 2017启动发布模式时没有收到错误。 

I get the "Unable to activate Windows Store app... 'The app didn't start" error when launching the app from VS 2017 in debug mode.  I do not get the error with I launch the release mode from VS 2017. 

是否需要更改调试设置以使调试器在VS 2017中运行?  

Is there a debug setting I need to change to get the debugger to run in VS 2017?  

是否存在阻止调试器启动的系统策略?

Is there a system policy that is preventing the debugger to launch?

还有什么我应该尝试的吗?  

Is there something else I should try?  

Ted Kyle

推荐答案

嗨Ted Kyle,

Hi Ted Kyle,

是否所有UWP应用程序在调试模式下都有相同的问题,或者只是特定的问题?

Whether all UWP apps have the same issue in debugging mode or just the specific one?

例如,只需创建一个简单的UWP应用程序,然后调试它,如何结果?

For example, just create a simple UWP app, and then debug it, how about the result?

(1)您的解决方案中是否只有一个UWP应用程序?请检查它是否与错误的解决方案/项目平台有关。

(1) Whether it just has one UWP app in your solution? Please check that whether it is related to the  wrong Solution/Project Platform.

(2)还请将项目保存在C盘的默认VS项目文件夹中,然后进行测试再次。

(2) Please also save the project in the default VS project folder in C drive, and then test it again.

(3)请同时删除项目文件夹中的bin或obj文件,然后重新打开项目,清理并重建项目,再次调试。

(3) Please also delete the bin or obj file in your project folder, and then re-open the project, clean and rebuild the project, debug it again.

谢谢,

杰克


这篇关于应用程序无法在调试模式下激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆