The sample app code using the v1.0.1466-prerelease nuget WebView2 package. Note that this is the snapshot of the last down level OS compatible sample app code. Minimum runtime version 109 is required.
Please see [Microsoft Edge and WebView2 ending support for Windows 7 and Windows 8/8.1 - Microsoft Edge Blog](https://blogs.windows.com/msedgedev/2022/12/09/microsoft-edge-and-webview2-ending-supp...