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
- Steve_PP22 days agoExperienced Partner
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
- Raff19 days agoExperienced Partner
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