'Embedding Webview2 dll within an exe file WPF

I want to release my WPF app just in an .exe file. I have 3 dll's from the WebView2 nuget package.

Microsoft.Web.WebView2.Wpf.dll
Microsoft.Web.WebView2.Core.dll
Microsoft.Web.WebView2.WinForms.dll

As noted, Costura.Fody doesn't work for this, but I have a native runtime .dll and I saw this can help to release the app.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source