Forum Discussion
WebView2 WinForms c# Getting Started Errors ?
vmars316 Thanks for your patience. Here are the team's thoughts on your first question:
- You may be using the release package and not the pre-release package of the .NET WebView2
- There is a known bug based on configurations with our previous package. If you upgrade to the pre-release version of the newest package we released last week, it should work. (https://docs.microsoft.com/en-us/microsoft-edge/webview2/releasenotes#10674-prerelease)
If you are still running into issues, you can check out our WebView2-specific feedback repo here:
https://github.com/MicrosoftEdge/WebView2Feedback
And it looks like someone from the team already addressed your second question, but let us know if you still have additional questions!
Fawkes (they/them)
Program Manager & Community Manager - Microsoft Edge
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Microsoft.Web.WebView2.WinForms
StackTrace:
at Microsoft.Web.WebView2.WinForms.WebView2.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Visual Studio 2019
Net Framework 4.8
Nuget: Microsoft.Web.WebView2 1.0.721-prerelease
Only When I click Exit button I have this error. From Microsoft Store Team said that any of the buttons don`t work and the rejected my app.
You can install my first version on this link published 30.11.2020 and there was no problem to publish.
Download link: https://t.co/tso11BqC0H?amp=1go.microsoft.com/fwlink/?LinkId=532540&mstoken=
Enter this code: PJDD9-GWPJ9-C4QM7-67R34-2CYYZ The Umbrella website: https://t.co/qU3Mxv3rTH?amp=111323444.450552.renderforestsites.com