deployment - UWP 部署 Microsoft.NET.Native.Runtime.1.7 未找到错误

标签 deployment uwp appx

我最近安装了一些 windows/visual studio 2017 更新,现在当我创建我的 UWP 应用程序包并尝试将它部署到它曾经工作正常的任何机器时 - 安装失败并且有Windows 错误日志中的此错误消息:

AppX Deployment operation failed for package 92211ab1-5481-4a1a-9111-a3dd87b81b72_1.0.26.0_neutral_~_n78qa84z3g9aj with error 0x80073CF3. The specific error text for this failure is: Windows cannot install package 92211ab1-5481-4a1a-9111-a3dd87b81b72_1.0.26.0_x86__n78qa84z3g9aj because this package depends on a framework that could not be found. Provide the framework "Microsoft.NET.Native.Runtime.1.7" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 1.7.25531.0, along with this package to install. The frameworks with name "Microsoft.NET.Native.Runtime.1.7" currently installed are: {}

我在网上找不到任何关于这个包的引用。

该软件包在开发机器上安装得很好。

如有任何帮助,我们将不胜感激。

编辑 1:

下面是我的依赖项文件夹的屏幕截图: enter image description here

最佳答案

UWP Deployment Microsoft.NET.Native.Runtime.1.7 not found

问题是在当前操作系统中没有Microsoft.NET.Native.Runtime.1.7依赖。您可以手动安装 Microsoft.NET.Native.Runtime.1.7 依赖项。

Microsoft.NET.Native.Runtime.1.7依赖会存放在appx文件夹下的Dependencies文件夹中。 enter image description here

更新1

我已经查看了您的屏幕截图。看起来你在 Debug模式下生成了你的包,我可以用这种方式重现相同的依赖关系。 .NET Native 工具链在 Release模式下默认被勾选。因此,您可以在 Release模式 中重新生成您的包以获取上面的文件。

关于deployment - UWP 部署 Microsoft.NET.Native.Runtime.1.7 未找到错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47127375/

相关文章:

c# - ODP.NET - 部署无需安装 ORACLE CLIENT - oraociei11.dll 的大尺寸

visual-studio-2008 - 如何部署 SSIS 包以作为 SQL Server 代理作业按计划运行?

python - 如何将OpenCV应用程序部署到Google Cloud VM中

windows-10-universal - 如何将依赖项合并到 .Appx 中以避免 -DependencyPath 参数

uwp - UWP 应用程序的图标大小(通用 Windows 平台、AppX)

deployment - 使用 Mercurial 在多台服务器上自动部署 Web

c# - UWP/C# 中的图像散列,图像在缩放和灰度化后水平重复

c# - #UWP 改变richeditbox的所有字体颜色

c# - 使用 NotificationBase 的数据绑定(bind)问题

windows - 是否可以在没有管理员权限的情况下安装 .appxbundle(UWP/XAML 应用程序)?