I use a Webview2 NuGet package to include a Webview2 control in a Visual Studio 2022 C++ project. The project is Microsofts own WebView2GettingStarted project. I use the newest available Microsoft.Web.WebView2 NuGet package (1.0.1370.28). On the client machine(s) I have installed the newest Microsoft Edge WebView2 Runtime.
When I run the application on any Windows 10 machine (with Webview2 runtime installed) the application works fine, but when I run the application on Windows 7 it fails with the error dialog:
If I use an old version of Microsoft.Web.WebView2 NuGet package namely version 1.0.1054.31 then the application works on both Windows 7 and 10, however I dont like to be limited to an old version. WebView2 is supposed to run on Windows 7.
Does anybody have any ideas to a solution?
EventSetInformation
which needs: "Minimum supported client Windows 8 [desktop apps | UWP apps]" learn.microsoft.com/en-us/windows/win32/api/evntprov/…