我无法在 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/