问题
I have an edge extension with native messaging support where it communicates with uwp application running in the system. Is it mandatory to have extension packaged within the appx folder of uwp app. if not then how can we upload the extension in edge extension store.
I followed the secureInput sample:
https://github.com/MicrosoftEdge/MicrosoftEdge-Extensions-Demos/tree/master/SecureInput
They are putting extension within the Appx folder of UWP application. how will I upload extension in edge extension store.
回答1:
To make an Extension communicate with a UWP App - the Extension and certain runtime components of UWP has to be packaged in the same Appx Package. Please read the documentation here: https://docs.microsoft.com/en-us/microsoft-edge/extensions/guides/native-messaging
Also, it will be much easier to create a Store eligible package through Visual Studio.
来源:https://stackoverflow.com/questions/43511287/edge-extension-with-nativemessaging