【发布时间】:2018-07-25 21:53:16
【问题描述】:
我正在使用 Unity 构建一个简单的 hololens 应用。
我只是使用MixedRealityToolkit的构建窗口
我已经这样做了很多次,没有问题。但是,经过大量更新后,应用程序的安装失败
现在我已将 Hololens 更新到最新版本 17134.165.x86fre.rs4(2018 年 4 月 10 日发布)。 同时我更新了 Unity、Visual Studio 2017 和 Windows 10 SDK。 windows 10 SDK 为 10.0.171340.0
一切正常,App 包的创建没有任何错误。
问题
当我尝试在我的 hololens 上安装应用程序时,我收到以下错误
Windows cannot install package [x] because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 14.0.26428.1, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {Microsoft.VCLibs.140.00.Debug_14.0.25830.2_x86__8wekyb3d8bbwe}(Package failed updates, dependency or conflict validation.)
问题似乎是使用了错误的 Microsoft.VCLibs.140.00.Debug 依赖项。它需要14.0.26428.1,但正在使用14.0.25830.2。
到目前为止我发现了什么
我可以看到作为包依赖项包含的依赖项 VCLIBS 文件似乎是一个较旧的文件(使用以前的 SDK 或 Visual Studio 版本安装的东西)但是我不知道在哪里可以找到更新的版本。
我已经尝试过 Unity 2018 和 2017,但 Unity 似乎不是问题
【问题讨论】:
标签: c# visual-studio unity3d hololens