- You have a WPF web application as XBAP package.
- Your clients decided to upgrade to Windows 8.
- Your application works in IE8 but throws System.MissingMethodException in IE9/IE10/IE11.
- You did everything but no luck.
Although the problem seems frustration. The solution is simple. You need to call your function as a function of document object. So, you need to change two parts/lines of your existing code as shown red below.
//WPF/.Net part dynamic host = BrowserInteropHelper.HostScript; host.document.OnYourWPFApplicationLoaded(new CallbackObject(this));
And … That’s it 🙂