visual-studio-2015 - Visual Studio 2015 中的通用 Windows IoT 应用程序构建失败

标签 visual-studio-2015 windows-iot-core-10

我无法在 Visual Studio 2015 中构建通用 Windows 应用程序,构建错误为“任务‘GenerateAppxPackageRecipe’失败。0x7F - 无法加载 MRM 支持库。”有人可以帮我弄这个吗?提前致谢。

最佳答案

这是 Windows 10 SDK(版本 10.0.14393.33)中的一个已知问题,它包含在带有更新 3 的 Visual Studio 2015 中。它已在 中得到修复。 QFE 版本 10.0.14393.795 .

This non-security update includes quality improvements:

  • Addressed issue where developers could not build UWP apps on Windows 7 because MRMSupport.dll failed to load.
  • Addressed issue where MidlRT and MDMerge failed to run on Windows 7
  • Addressed issue where SDK setup failed to install on Windows
  • Addressed issue where deploying a legacy Store app to a 8.1 Phone caused Visual Studio to crash
  • Addressed issue where application data was not preserved across remote debugging sessions when apps were getting un-registered


更多信息请见Windows SDK and emulator archive .

要解决此问题,请转到添加/删除程序和卸载 Windows 软件开发工具包 - Windows 10.0.14393.33 .然后重新安装10.0.14393.795 version来自 Windows SDK 和模拟器存档。在此之后,您应该能够正确构建 UWP 应用程序。

但是,在 Windows 7 上,使用 Visual Studio 2015,对 Windows Universal 的官方支持是“ Build only ”。许多其他 Visual Studio 功能已降级。因此,如果您正在开发 Windows 通用应用程序,强烈推荐 Windows 10 .更多信息请见this answer .

关于visual-studio-2015 - Visual Studio 2015 中的通用 Windows IoT 应用程序构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38778421/

相关文章:

c# - Windows 10 IoT Core - 视频打开关闭

azure - 无需端口转发或 UPnP 即可访问 Windows IoT 设备门户

nuget - 从面向 .Net 4.0 客户端配置文件的 Win Forms 应用程序引用由 asp.net 5 类库创建的 nuget 包

svn - 在 Windows/Visual Studio 上使用 SVN 存储更改

c# - 使用 C# XAML 中的按钮保存数据

windowsiot - Visual Studio 2017 无法将 UWP 应用部署到 IoT 设备

windows - Windows 8 可以构建 Windows 10 IoT Core 应用程序吗?

c++ - 找不到标识符。

c++ - 程序不显示显示处理和计时的窗口

c# - UWP Windows IoT核心流路由