Webview2 missing from toolbox
Tried to manually add it by right clicking and choose item -> browse and add the .dll manually as shown in image but i get an error
i tried pre-relases and older version everything, edge is updated on my computer and i am running vs2022 community any tips?

11 Replies
all u should need to do is add the nuget build your project once
and it should appear in the toolbox

Get started with WebView2 in WinForms apps - Microsoft Edge Develop...
Getting started guide for using WebView2 for WinForms apps.
Yes that's what i did but never showed up.
I ended up making a new project and moving my files over and that solved it.
And nop matter what addon i installed from nuget it didnt work in that project
but did u build your project and it succeed because that was the only thing I had to do for it to show up in the list
if it does not then u would have to reset the toolbox
also are you using .net or .net framework
.net framework 4.8
it works in my new .net framework project
i ddi reset toolbox and tried to manually add and make a sucess build but i have no idea why it didnt work there.
I will be honest I have never tried it on .net framework, I can only say it works on .net
I will give it a try on .net framework once I get back and let u know
yeah same result
installed the nuget
on a new .net framework winforms project
rebuilt the project
once I did it and open the toolbox it was there


Huh thanks for checking it out.
Do you happen to know hgow i can pass argument
(--enable-features=msWebView2EnableDraggableRegions)
into webview2 inside the designer and not by code?
never done it myself but u would have to create the object your self and pass in a CoreWebView2EnvironmentOptions with the options u need https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/webview-features-flags?tabs=dotnetcsharp all the options