Why did my XAML suddenly crash?

雨燕双飞 提交于 2019-12-06 01:27:14

I had same issue, seems like problem is that VS trying to "deploy" any your application before it's starting debugging. But this deployment can be forbidden by Windows Local Group Policies. So you need to do next steps:

  1. Press Win + X to open Run dialog, type gpedit.msc and press Enter;
  2. Go to Computer Configuration > Administrative Templates > Windows Components > App Package Deployment;
  3. Double-click ‘Allow all trusted apps to install’, select Enabled and choose OK;

It helped for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!