Visual Studio 2017 UWP Apps crash

隐身守侯 提交于 2019-12-08 11:56:01

问题


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

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

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

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

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

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

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


回答1:


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.



来源:https://stackoverflow.com/questions/43459550/visual-studio-2017-uwp-apps-crash

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