Ok those plugin errors were caused by empty xml files. Which I'd expect to throw an error. However I wouldn't have expected the xml files to be empty in the first place - how bizarre? I suspect an older version of MonoDevelop (0.13?) nuked them for some unknown reason during compilation - for sure, I have *not* touched them.
Anyway, so, wow it gets somewhere, shows a screen with land / windows momentarily, then crashes:
- Code:
Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
at System.Windows.Forms.MdiClient.ActivateChild (System.Windows.Forms.Form form) [0x00045] in /usr/src/redhat/BUILD/mono-1.9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs:702
at System.Windows.Forms.MdiClient.set_ActiveMdiChild (System.Windows.Forms.Form value) [0x00000] in /usr/src/redhat/BUILD/mono-1.9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs:953
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MdiClient:set_ActiveMdiChild (System.Windows.Forms.Form)
at System.Windows.Forms.MdiClient+ControlCollection.Add (System.Windows.Forms.Control value) [0x00049] in /usr/src/redhat/BUILD/mono-1.9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs:81
at System.Windows.Forms.Form.set_MdiParent (System.Windows.Forms.Form value) [0x00079] in /usr/src/redhat/BUILD/mono-1.9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:923
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:set_MdiParent (System.Windows.Forms.Form)
at FreeTrain.FreeTrainSDL.Go () [0x004b6] in /home/charles/Games/svn/FreeTrainSDL/Program.cs:422
at FreeTrain.FreeTrainSDL.Main () [0x00006] in /home/charles/Games/svn/FreeTrainSDL/Program.cs:319
Since I suspect this is a Mono bug and not a FreeTrain bug (if it is, it's unclear how we are misusing the Mdi API), I filed a report here:
https://bugzilla.novell.com/show_bug.cgi?id=374663