DEP0800:升级到 VS 2015 Update 3 后无法部署 UWP 应用 [英] DEP0800: Cannot deploy UWP app after upgrading to VS 2015 Update 3
问题描述
升级到 VS 2015 Update 3 后,我很难让我的 UWP 应用在调试模式下部署.
I am having a very hard time getting my UWP app to deploy in debug mode after upgrading to VS 2015 Update 3.
2>正在检查是否安装了所需的框架...2>Framework:Microsoft.VCLibs.140.00.Debug/x86,当前未安装应用包版本14.0.24210.0.2>Framework:Microsoft.NET.CoreRuntime.1.0/x86,当前未安装应用包版本1.0.23819.0.2>Framework:Microsoft.VCLibs.140.00.Debug/x86,当前未安装应用包版本14.0.24210.0.2>安装缺少的框架...2>DEP0800:所需的框架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>错误 0x80070003:Windows 无法为 Microsoft.VCLibs.140.00.Debug_14.0.24210.0_x86__8wekyb3d8bbwe 包创建 AppContainer 配置文件.
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.
此路径不存在,因为中间有.\";因此,我更新了C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\"文件夹中的 SDKManifest.xml 文件以删除.\";但我仍然无法部署该应用程序.
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.
我已经尝试重新安装然后修复 VS,但无济于事(而且我真的不想重新安装我的操作系统 -_-)
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?
推荐答案
我遇到了类似的问题,并通过 Powershell 以管理员身份安装缺少的 appx 解决了这个问题.
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"
这篇关于DEP0800:升级到 VS 2015 Update 3 后无法部署 UWP 应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!