Forum Discussion
Nice thought but sadly not the answer. Have rebooted and tried other solutions that use mostly the same code but no further forward. The problem arisies consistently on all the versions of the app I have tried.
Will resume picking over my csproj files tomorrow so if you have any more brilliant thoughts happy to hear about them.
CoreWebView2InitializationCompleted is a public event of WebView2 in the Microsoft.Web.WebView2.WinForms namespace. If your project is WinForms, you need to ascertain why your WebView2 class is not referencing Microsoft.Web.WebView2.WinForms.
Right-click on 'WebView2' on this line and click 'Go to definition'
var webView2 = new WebView2
You should end up looking at this file (scroll to the top.) Presumably you are not. You need to work out why. Recheck your references.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.