Visual Studio 2008 will suddenly quit when I'm manipulating the WebBrowser control in my WPF application.
This is in the Event Log:
.NET Runtime version 2.0.50727.3053 –
Unrecoverable system error..NET Runtime version 2.0.50727.3053 –
Fatal Execution Engine Error
(7A2E0F92) (0)
Does anyone know a cause or workaround for this error?
It happens when I change this XAML:
<WebBrowser
Name="WebBrowserPreview"
Grid.Row="1"
Margin="5"
Source="http://www.google.com"/>
to this:
<WebBrowser
Name="WebBrowserPreview"
Grid.Row="1"
Margin="5" />
Best Answer
I just CUT the whole section out. Then PASTEed in a new <WebBrowser> tag from Notepad.
It didn't crash that time.
Weird.