Use of WebView2 in Studio plugins

Dear developers,

I was wondering if some of you have experience with the WebView2 component in Studio plugins.

I followed the instructions here: Get started with WebView2 in WinForms apps - Microsoft Edge Development | Microsoft Docs and can create a Windows Form app which displays a webpage using webview2. I tried to do the same in a Studio plugin but I am not successful. I have added references to the core and winform dlls of webview2 in the plugin manifest. When running the plugin, the winform window opens but the browser is not displayed (empty winform). Any idea about what is missing?

I first initiated the discussion in another post (see here) and Paul Filkin told me about the cefsharp component used in the Report Viewer Plus. I will have a look at cefsharp, as it sounds interesting.

Thank you for your support.

Laurent

Parents Reply Children