EmbeddedWebViewOptions.WebView2BrowserExecutableFolder 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
In case when WebView2 is not available, MSAL.NET will fallback to legacy WebView.
應用程式可以將固定版本的執行環境打包,並並排發佈。 為此你需要告訴 MSAL(讓它能告訴 WebView2)執行時位元在哪裡,並設定這個屬性。 如果你沒有設定,MSAL 會嘗試使用系統範圍的「常青」執行時安裝。」更多細節請參見 CoreWebView2Environment.CreateAsync 方法。
[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
屬性值
- 屬性