DEP0800: Cannot deploy UWP app after upgrading to VS 2015 Update 3

自作多情 提交于 2019-12-24 00:54:32

问题


I am having a very hard time getting my UWP app to deploy in debug mode after upgrading to VS 2015 Update 3.

2>Checking whether required frameworks are installed... 2>Framework: Microsoft.VCLibs.140.00.Debug/x86, app package version 14.0.24210.0 is not currently installed. 2>Framework: Microsoft.NET.CoreRuntime.1.0/x86, app package version 1.0.23819.0 is not currently installed. 2>Framework: Microsoft.VCLibs.140.00.Debug/x86, app package version 14.0.24210.0 is not currently installed. 2>Installing missing frameworks... 2>DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\.\AppX\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx" failed to install. 2>error 0x80070003: Windows cannot create the AppContainer profile for the Microsoft.VCLibs.140.00.Debug_14.0.24210.0_x86__8wekyb3d8bbwe package.

This path doesn't exist because of the '.\' inbetween; as a result I updated the SDKManifest.xml file in the 'C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\' folder to remove the '.\'; but am still unable to deploy the app.

I've already tried reinstalling and then reparing VS, but to no avail (and I really don't want to reinstall my OS -_-)

Any ideas as to what might be wrong and how I could fix it?


回答1:


I had a similar problem and fixed it by installing the missing appx through Powershell as admin.

Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx"



回答2:


I had some issues after the SP3 upgrade also. For me, making sure that the configuration manager was building all my projects and deploying what I expected it to deploy for the build and target I expected fixed my issues.

You can check this by Right clicking on Solution -> Properties -> Configuration




回答3:


I had the same issue. For me it helped starting the windows search service during installing the appx directly. afterwards I could deactivate Window Search Service again.



来源:https://stackoverflow.com/questions/38088960/dep0800-cannot-deploy-uwp-app-after-upgrading-to-vs-2015-update-3

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