如何加载打包(但未签名)的边缘扩展?

How to load packed (but not signed) Edge extension?

我知道如何加载解压后的 Microsoft Edge 扩展。

现在我将扩展程序打包(但尚未签名)到 .appx 文件中。我可以通过 .appx 文件加载扩展吗?

我试图通过双击打开 .appx 文件,它显示:

Installation failed
Reason: This one isn't signed with a trusted certificate.

是的,您可以从包中安装 Edge 扩展,但它必须 由证书签名,该证书应该添加到受信任的人 按照 the documentation. Well, I see, that you have a problem with signing, so you can try to use this extension sample, which contains .bat file to build a package and sign it (Visual Studio 2015 is required - see the second line of build.bat). I have published this sample to report about the bug 中的描述存储。希望对您有所帮助。