Visual Studio 2017 UWP 应用程序崩溃 [英] Visual Studio 2017 UWP Apps crash

查看:39
本文介绍了Visual Studio 2017 UWP 应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在 Windows 10 上安装了 Visual Studio 2017 Ent(Creators 更新补丁级别)

I have just installed Visual Studio 2017 Ent on Windows 10 (Creators update patch level)

我开发的UWP应用安装后不再启动.他们因这个错误而崩溃:

After the installation UWP apps that I have developped no longer start. They crash with this error:

无法激活 Windows 应用商店应用.xzy.exe 进程已启动,但激活请求失败,错误为应用未启动""

"Unable to activate Windows Store app. The xzy.exe process started, but the activation request failed with error 'The app didn't start'"

使用空白 UWP 应用程序创建新项目的事件会产生相同的错误.

Event creating a new project with a blank UWP application produces the same error.

失败发生在 App.xaml.cs init 调用之前.

The failure happens before the App.xaml.cs init is called.

有没有其他人遇到过这个问题,如果有 - 是如何解决的?

Has anyone else ancountered this issue, and if so - how was ti resolved?

经过进一步测试 - 通过 Windows App Store 安装的应用程序似乎可以正常工作.任何侧面加载的应用都会失败.

after further testing - it woudl appear that apps installed through Windows App Store work ok. Any side loaded apps fail.

推荐答案

通过重新安装 Microsoft.NET.CoreRuntime.1.1.appx 和 Microsoft.VCLibs.x64.Debug.14.00.appx 依赖项,我设法解决了该问题应用程序包文件夹.希望这会为某人节省一些时间.

I have managed to resolevd the issue by reinstalling the Microsoft.NET.CoreRuntime.1.1.appx and Microsoft.VCLibs.x64.Debug.14.00.appx dependencies from the app packages folder. Hope this will save someone some time.

这篇关于Visual Studio 2017 UWP 应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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