2

Closed

NullReferenceException when viewing MainWindow.xaml designer in VS2010

description

I'm getting a NullReferenceException when viewing MainWindow.xaml designer in VS2010. See attached screenshot. Any ideas?

file attachments

Closed May 14, 2012 at 5:13 PM by peekb
fix checked in, binaries not updated

comments

melody4mind wrote Nov 11, 2011 at 1:42 AM

FYI I updated line 52 from:
if (MainWindow.Instance.NuiRuntime == null)
to
if (MainWindow.Instance == null || MainWindow.Instance.NuiRuntime == null)

After doing that the designer seems to work. Is it expected that MainWindow.Instance could be null?

wrote Jan 20, 2012 at 3:41 AM

wrote May 14, 2012 at 5:13 PM

wrote Feb 14, 2013 at 7:19 PM

wrote May 16, 2013 at 9:17 AM