-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Web.Webview2 latest version breaks auto updater #547
Comments
Dito |
Remove the changelog entry from your XAML file, then WebView should no longer be displayed. I still have AutoUpdater.UpdateMode = Mode.ForcedDownload; |
I am investigating the issue. I will post an update once I find the solution. |
I managed to fix the issue in the latest commit. Can you check it out by manually referencing the DLL from here? |
Thank you, this commit fixed the issue for me! |
If I update Microsoft.Web.Webview2 to version 1.0.1264.42(Latest version) I get exception when I start auto updater:
Method not found: 'System.Threading.Tasks.Task Microsoft.Web.WebView2.WinForms.WebView2.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Core.CoreWebView2Environment)'.
Stack trace:
But downgrading to Microsoft.Web.Webview2 version 1.0.1245.22 fixes the issue.
My project is .Net framework 4.8 windows forms.
This is how I start auto updater:
update.xml contents:
To replicate the issue, I created a simple .Net Framework 4.8 windows forms project, added AutoUpdater.NET through nugget, and updated Microsoft.Web.Webview2 to the latest version
autoupdater_test.zip
:
The text was updated successfully, but these errors were encountered: