Share via


EmbeddedWebViewOptions.WebView2BrowserExecutableFolder Property

Definition

Caution

In case when WebView2 is not available, MSAL.NET will fallback to legacy WebView.

It is possible for applications to bundle a fixed version of the runtime, and ship it side-by-side. For this you need to tell MSAL (so it can tell WebView2) where to find the runtime bits by setting this property. If you don't set it, MSAL will attempt to use a system-wide "evergreen" installation of the runtime." For more details see CoreWebView2Environment.CreateAsync Method.

[System.Obsolete("In case when WebView2 is not available, MSAL.NET will fallback to legacy WebView.", true)]
public string WebView2BrowserExecutableFolder { get; set; }
[<System.Obsolete("In case when WebView2 is not available, MSAL.NET will fallback to legacy WebView.", true)>]
member this.WebView2BrowserExecutableFolder : string with get, set
Public Property WebView2BrowserExecutableFolder As String

Property Value

Attributes

Applies to