使用 Visual Studio 部署 Windows 10 UWP 应用程序期间出现错误 DEP0700 0x80073cf3 [英] Error DEP0700 0x80073cf3 during Windows 10 UWP application deployment with Visual Studio

查看:88
本文介绍了使用 Visual Studio 部署 Windows 10 UWP 应用程序期间出现错误 DEP0700 0x80073cf3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法再使用 .NET Native 在 Release/x64 配置中部署我的 UWP 项目.

它在部署过程中似乎找不到 x86 版本的 .NET Native Runtime 包,而它已经在目标平台上构建了一个真正 x64 的 x64 包.

错误如下:

<块引用>

错误:DEP0700:应用注册失败.Windows 无法安装包 XXXXXXXXX-d24ead15699e,因为此包依赖于另一个找不到的包.

此包需要至少 1.2.23231.0 的框架 Microsoft.NET.Native.Runtime.1.2 由 CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US 发布才能安装;

可供用户使用的名为 Microsoft.NET.Native.Runtime.1.2 的框架是 Microsoft.NET.Native.Runtime.1.2_1.2.23231.0_x86__8wekyb3d8bbwe.与此包一起提供正确的框架.(0x80073cf3)

事实上,在尝试使用 Powershell 脚本而不是 Visual Studio 安装应用程序包后出现了这个问题(即在安装了 Visual Studio 并用于调试的开发计算机上).

我为 x86 & 生成了一个部署应用程序包x64 平台.现在似乎在 PC 上的 Microsoft.NET.Native.Framework 引用或不同类型的部署(使用 VS2015 或使用 PowerShell)之间存在冲突,但我不知道为什么以及如何解决它.

任何帮助将不胜感激.

谢谢,

蒂博

解决方案

我的问题通过修改vs 2017安装解决,添加.NET Core跨平台开发".随着安装,.NET Core 2.0 开发工具"被安装.我猜它是 vs 部署所必需的.

我之前遇到的错误,DEP0700:应用程序注册失败.[0x80073CF3]Windows 无法安装包 d6ff9b9c-06f8-4ead-a5cb-9389bd79cb13_2.3.0.0_x86__5xzajrpst8fmr因为这个包依赖于一个找不到的框架.提供框架Microsoft.NET.CoreRuntime.2.1"由CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"发布,具有中性或 x86 处理器架构和最低版本 10.0.16299.0,连同这个包一起安装.名为Microsoft.NET.CoreRuntime.2.1"的框架当前安装的是:{Microsoft.NET.CoreRuntime.2.1_2.1.26124.5_x86__8wekyb3d8bbwe}

I'm unable to deploy my UWP project anymore in the Release/x64 configuration with .NET Native.

It appears that it can't find the x86 version of the .NET Native Runtime package during deployment, while it has built a x64 package on the target platform that is really x64.

The error is below:

Error : DEP0700 : Registration of the app failed. Windows cannot install package XXXXXXXXX-d24ead15699e because this package depends on another package that couldn't be found.

This package requires minimum version 1.2.23231.0 of framework Microsoft.NET.Native.Runtime.1.2 published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US to install;

The frameworks with name Microsoft.NET.Native.Runtime.1.2 available to the user are Microsoft.NET.Native.Runtime.1.2_1.2.23231.0_x86__8wekyb3d8bbwe. Provide the correct framework along with this package. (0x80073cf3)

In fact this problems appeared after trying to install the app package with the Powershell script instead of from Visual Studio (ie on the development computer where Visual Studio is installed and that is used for debugging).

I had generated an deployment application package for both x86 & x64 platform at the same time. it seems now that there is a conflict in Microsoft.NET.Native.Framework referencing or between different kinds of deployment (with VS2015 or with PowerShell) on the PC but I don't know why and how resolve it.

Any help would be greatly appreciate.

Thanks,

Thibault

解决方案

My problem is solved by modify vs 2017 installation, adding ".NET Core cross-platform development". Along with the installation, ".NET Core 2.0 development tools" is installed. I guess it is required by vs deployment.

The error I got before, DEP0700: Registration of the app failed. [0x80073CF3] Windows cannot install package d6ff9b9c-06f8-4ead-a5cb-9389bd79cb13_2.3.0.0_x86__5xzajrpst8fmr because this package depends on a framework that could not be found. Provide the framework "Microsoft.NET.CoreRuntime.2.1" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 10.0.16299.0, along with this package to install. The frameworks with name "Microsoft.NET.CoreRuntime.2.1" currently installed are: {Microsoft.NET.CoreRuntime.2.1_2.1.26124.5_x86__8wekyb3d8bbwe}

这篇关于使用 Visual Studio 部署 Windows 10 UWP 应用程序期间出现错误 DEP0700 0x80073cf3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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