How to load packed (but not signed) Edge extension

2019-08-24 12:02发布

问题:

I know how to load unpacked Microsoft Edge extension.

Now I have my extension packed (but not signed yet) to a .appx file. Can I load the extension via the .appx file?

I tried to open the .appx file by double-click on it, it shows:

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

回答1:

Yes, you can install an Edge extension from a package, but it must be signed by the certificate which should be added to the trusted people store as described in 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. Hope this will help you.