0

I am trying to embed an Angular web app in WPF.

I have followed the steps here to create a very basic angular application. Then I created a brand new WPF application, added a WebBrowser control and set its Source property equal to the URL of the angular application.

I found the following post but it did not help.

I get the following error when the WPF application starts.

"Unable to get property 'apply' of undefined or null reference" in the vendor.bundle.js

2 Answers2

0

The default WebBrowser object that .Net applications are using it is IE7 I guess..

I've found a good answer here for making WebBrowser to use IE10 or IE11 (Edge).

Another solution is to use third-party WebBrowsers, this is an old article but I think it might help.

Mohamad Rashidi
  • 307
  • 2
  • 14
0

After trial and error the meta tag fixed it. Originally I was putting outside the head tag. Adding it to head tag fixed it.