【问题标题】:Error while debugging windows 10 universal app调试 Windows 10 通用应用程序时出错
【发布时间】:2016-02-17 07:25:41
【问题描述】:

我正在开发一个 Windows 10 通用应用程序。应用程序中没有构建错误。当我尝试调试时,出现以下错误。

Severity    Code    Description Project File    Line
Error       Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.Midi.GmDls\10.0.10240.0\.\Appx\Neutral\MidiVoices.appx" failed to install. 
error 0x800B010A: The root certificate and all intermediate certificates of the signature in the app package or bundle must be trusted. 

为什么会出现这个错误,我该如何解决?

【问题讨论】:

标签: c# visual-studio-2015 windows-10 win-universal-app


【解决方案1】:

正如@Hans Passant 提到的,这是一个已知问题。

这是因为 MidiVoice.appx 没有在当前版本的 SDK 中正确签名。此问题已在 TH2 SDK 中修复。因此,当您可以使用 TH2 SDK 更新时,您将能够使其工作。

[更新]

Visual Studio update 1 包含 TH2 SDK 更新。问题已解决。

【讨论】:

    【解决方案2】:

    轻度修正——更新 1 似乎没有正确的版本。您需要“10586”SDK,而不是“10240”版本。我下载了tools for universal windows app,然后手动选择了最新的SDK。

    必须手动编辑项目以提升最低版本(安装 586 SDK 将卸载 10240 SDK)并重新加载。有一个可怕的“重新安装缺少的功能”实际上似乎没有任何作用,需要删除并重新添加 DLS 引用。

    【讨论】:

      猜你喜欢
      • 2016-09-19
      • 1970-01-01
      • 2020-05-27
      • 2016-04-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-20
      相关资源
      最近更新 更多