如何在 Microsoft Store 中旁加载应用程序时安装 Microsoft.NET.Native.Runtime.2.1-rel 包
How to install Microsoft.NET.Native.Runtime.2.1-rel package while sideloading an app in Microsoft Store
我正在尝试使用 visual studio 2017 侧载应用程序。
我正在采取的步骤:
Right Click on the project->Store->Create app packages-> for sideloading....
它确实创建了包。
然而,当我尝试安装 packagebundle 时,我遇到了这个错误
App Installer failed to install package dependencies. Ask the
developer for Microsoft.NET.Native.Runtime.2.1-rel package.
当我查看 Dependencies/x86/ 时,我有 3 个包裹。有Microsoft.NET.Native.Runtime.2.1
但没有Microsoft.NET.Native.Runtime.2.1-rel
我找到了 this 但降级 UWP 没有帮助。
有人知道如何解决这个问题吗?
编辑:
在尝试按照评论 (6.0.1) 中的建议将 uwp 降级到更低的版本后,我收到了另一个错误:
Failure reason: Windows cannot install package because this package
depends on a framework that could not be found. Provide the framework
"Microsoft.NET.Native.Framework.2.0" published by "CN=Microsoft
Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",
with neutral or x86 processor architecture and minimum version
2.0.25709.0, along with this package to install. The frameworks with name "Microsoft.NET.Native.Framework.2.0" currently installed are: {}
Failure text: Package failed updates, dependency or conflict
validation. (0x80073cf3)
我降级后,当我安装在电脑上时它可以工作,但在 Hololens 中却显示此错误。 (我为 x86 架构构建)
更新:
我接受了一个答案,因为它为我指明了正确的方向,但是最新的稳定版本对我不起作用。我降级到更低的版本。
我不知道为什么,但它似乎解决了这个问题。
我遇到了同样的问题。后来我注意到我已经安装了“Pre-release”版本的“Microsoft.NETCore.UniversalWindowsPlatform”Nuget。
降级到最新的稳定版本解决了我的问题。
我正在尝试使用 visual studio 2017 侧载应用程序。 我正在采取的步骤:
Right Click on the project->Store->Create app packages-> for sideloading....
它确实创建了包。
然而,当我尝试安装 packagebundle 时,我遇到了这个错误
App Installer failed to install package dependencies. Ask the developer for Microsoft.NET.Native.Runtime.2.1-rel package.
当我查看 Dependencies/x86/ 时,我有 3 个包裹。有Microsoft.NET.Native.Runtime.2.1
但没有Microsoft.NET.Native.Runtime.2.1-rel
我找到了 this 但降级 UWP 没有帮助。 有人知道如何解决这个问题吗?
编辑: 在尝试按照评论 (6.0.1) 中的建议将 uwp 降级到更低的版本后,我收到了另一个错误:
Failure reason: Windows cannot install package because this package depends on a framework that could not be found. Provide the framework "Microsoft.NET.Native.Framework.2.0" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 2.0.25709.0, along with this package to install. The frameworks with name "Microsoft.NET.Native.Framework.2.0" currently installed are: {} Failure text: Package failed updates, dependency or conflict validation. (0x80073cf3)
我降级后,当我安装在电脑上时它可以工作,但在 Hololens 中却显示此错误。 (我为 x86 架构构建)
更新: 我接受了一个答案,因为它为我指明了正确的方向,但是最新的稳定版本对我不起作用。我降级到更低的版本。 我不知道为什么,但它似乎解决了这个问题。
我遇到了同样的问题。后来我注意到我已经安装了“Pre-release”版本的“Microsoft.NETCore.UniversalWindowsPlatform”Nuget。 降级到最新的稳定版本解决了我的问题。