mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

WPF.WebBrowser trouble #655

Open ShadowTeolog opened 7 years ago

ShadowTeolog commented 7 years ago

On lastest XWT.WPF backend Nuget package(0.2.5) WebBrowser don't show something, only empty space, but previous work normal. Also after click on this empty web browser control exception InvalidVariant fired. error CS0103: The name '$exception' does not exist in the current context This start's happen immediately after upgrade to new package. .NET 4.6 on Win10 Visual Studio 2015.

sevoku commented 7 years ago

Works for me here, can you reproduce the same if you build Xwt from source? Does it work with the Samples Application (pull from GitHub and add NuGet Packages to the Samples project replacing local references)? Also consider setting FEATURE_BROWSER_EMULATION for your application, or it will run in IE7 compatibility mode with a very limited functionality (example: https://github.com/mono/xwt/blob/master/TestApps/WpfTest/Main.cs#L38-L47).