Forum Discussion
Hi Steve
Many thanks for providing the code. My app is still working but if I ever need to get new tokens or install the app on another machine I'll run into issues and hence very interested in your solution.
I have replaced the old GetAuthorizationCode code with yours, however on my machine it hangs on the "await webView2.EnsureCoreWebView2Async(null);".
I'm guessing it is an environmental issue but if you or anyone else has any suggestion sit would be greatly appreciated.
Thanks
Not sure. Build | Clean solution and/or nuking the bin folder is always my start point for weird issues. You could check this out:
Failing that, see this post, showing you don't actually need the WebView2 update just yet.
https://community.myob.com/discussions/accountrightapiquestions/c-webbrowser---webview2-solution/877141/replies/877495
- Raff3 months agoExperienced Cover User
Hi Steve
I opted for your last resolution and am thankful it works fine. I've noted the qualification around not needing WebView2 "just" yet, but many thanks in getting past this issue.
Cheers
Raff
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.