Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Hosting Edge Chromium WebView2 in a tool window in VSIX extensions

$
0
0
We have been using the Internet Explorer based WebBrowser control in tool windows, editors, and dialogs in our extension. Barring the memory leak issues (which we overcame by making it out-of-proc), it has served us well.

The newly previewed Edge Chromium based WebView2 seemed promising and replacing what we have with this one seemed like the right next step. I want to validate our thoughts here, considering I came across this comment in the WebView feedback repo.

Quoting the comment here:
"From VS's perspective, extension developers are free to host WebView2 in a tool window themselves, but keep in mind that such feature can be complex and cause performance issues in VS. However, we are working on the platform support to hosting WebView2 within VS by default (with the date TBD, but within the next year, maybe calendar year). We are still in the process of discussing the extensibility platform through this, so please stay tuned."

What do you suggest? Today, I just see a blank window if I try to host WebView2 in a sample VSIX extension. Will this ever be supported? How long should I wait until I try again, till GA? Given that the comment says it could cause performance issues, should we be even considering replacing what we have now with WebView2?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>