简体   繁体   English

删除失败的 Microsoft Store 安装

[英]Removing a failed Microsoft Store installation

When I try to deploy and debug my UWP application from Visual Studio 2017 I get the error:当我尝试从 Visual Studio 2017 部署和调试我的 UWP 应用程序时,出现错误:

DEP0900: Failed to unregister application "Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe". DEP0900:无法注销应用程序“Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe”。 [0x80073CFA] Deployment Remove operation with target volume C: on Package Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe from: failed with error 0x80070490. [0x80073CFA] 目标卷 C 的部署删除操作:在 Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe 包上:失败,错误 0x80070490。

I think this is because there is an existing deployment of the same app on my PC from the Microsoft Store.我认为这是因为我的 PC 上存在来自 Microsoft Store 的相同应用的现有部署。 But that deployment failed and so there's nothing I can uninstall.但是那个部署失败了,所以我无法卸载任何东西。

How do I get rid of a failed installation from the store so that I can deploy from Visual Studio?如何从商店中删除失败的安装,以便我可以从 Visual Studio 进行部署?

This this: Open Powershell, then type the following command这是这样的:打开Powershell,然后键入以下命令

>Remove-AppXPackage

Then supply the package name然后提供包名

Package: Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM