When attempting to open the MainWindow.xaml file in the Visual Studio XAML Designer, it throws an InvalidOperationException relating to the window which obviously doesn't exist at design-time.
Changing the initialized check in the Start() method in MonoGameContentControl.cs to this
if (_isInitialized || DesignerProperties.GetIsInDesignMode(this)) return;
fixes the issue and doesn't appear to affect the runtime application.
When attempting to open the
MainWindow.xamlfile in the Visual Studio XAML Designer, it throws anInvalidOperationExceptionrelating to the window which obviously doesn't exist at design-time.Changing the initialized check in the
Start()method inMonoGameContentControl.csto thisif (_isInitialized || DesignerProperties.GetIsInDesignMode(this)) return;fixes the issue and doesn't appear to affect the runtime application.