Generator project for Microsoft.Web.WebView2.Win32.winmd, using the out-of-tree SDK for win32metadata.
Install the dotnet CLI if you don't already have it.
Then, clone this repo and run the following command from the repo root:
> dotnet buildThe build may take a few minutes, but when it's done the winmd file should be in bin\Microsoft.Web.WebView2.Win32.winmd.
When new versions of the WebView2 SDK are released, you can update the version used to build the metadata by updating this version number in WebView2Win32Metadata.proj:
<WinmdVersion>1.0.3296.44</WinmdVersion>