You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when call EnsureCoreWebView2Async() throw a exception "Could not load type ''System.Runtime.InteropServices.RuntimeInformation' from assembly 'mscorlib, version=4.0.0.0"
var opt = new CoreWebView2EnvironmentOptions();
var env = await CoreWebView2Environment.CreateAsync(null, null, opt);
await this.webView21.EnsureCoreWebView2Async(env);
this.webView21.Source = new Uri("https://www.google.com");
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
Description
when call EnsureCoreWebView2Async() throw a exception "Could not load type ''System.Runtime.InteropServices.RuntimeInformation' from assembly 'mscorlib, version=4.0.0.0"
System.Runtime.InteropServices.RuntimeInformation require .net 4.7.1 above
Version
SDK: https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.902.49
Runtime: 92.0.902.73
Framework: WinForms
OS: Win7
Repro Steps
var opt = new CoreWebView2EnvironmentOptions();
var env = await CoreWebView2Environment.CreateAsync(null, null, opt);
await this.webView21.EnsureCoreWebView2Async(env);
this.webView21.Source = new Uri("https://www.google.com");
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: