调试 windows 10 个通用应用程序时出错
Error while debugging windows 10 universal app
我正在开发 windows 10 通用应用程序。应用程序中没有构建错误。当我尝试调试时,发生了以下错误。
Severity Code Description Project File Line
Error Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\ExtensionSDKs\Microsoft.Midi.GmDls.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.
为什么会出现这个错误,我该如何解决?
正如@Hans Passant 提到的,这是一个已知问题。
这是因为 MidiVoice.appx 在当前版本的 SDK 中没有正确签名。此问题已在 TH2 SDK 中修复。因此,当 TH2 SDK 更新可用时,您将能够使其正常工作。
[更新]
Visual Studio update 1 包含 TH2 SDK 更新。问题已解决。
轻微更正 -- 更新 1 似乎没有正确的版本。您需要“10586”SDK,而不是“10240”版本。我下载了tools for universal windows app,然后手动选择了最新的SDK。
必须手动编辑项目以提高最低版本(安装 586 SDK 将卸载 10240 SDK)并重新加载。有一个可怕的"reinstall missing features"实际上似乎没有做任何事情,需要删除并重新添加DLS参考。
我正在开发 windows 10 通用应用程序。应用程序中没有构建错误。当我尝试调试时,发生了以下错误。
Severity Code Description Project File Line
Error Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\ExtensionSDKs\Microsoft.Midi.GmDls.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.
为什么会出现这个错误,我该如何解决?
正如@Hans Passant 提到的,这是一个已知问题。
这是因为 MidiVoice.appx 在当前版本的 SDK 中没有正确签名。此问题已在 TH2 SDK 中修复。因此,当 TH2 SDK 更新可用时,您将能够使其正常工作。
[更新]
Visual Studio update 1 包含 TH2 SDK 更新。问题已解决。
轻微更正 -- 更新 1 似乎没有正确的版本。您需要“10586”SDK,而不是“10240”版本。我下载了tools for universal windows app,然后手动选择了最新的SDK。
必须手动编辑项目以提高最低版本(安装 586 SDK 将卸载 10240 SDK)并重新加载。有一个可怕的"reinstall missing features"实际上似乎没有做任何事情,需要删除并重新添加DLS参考。