Latest MW5 version will not start
Description
Reported by several people.
After installing the latest installer and starting MW5, the application crashes on start-up:
Environment
Activity
SyncFusion suggested a work around which seems to work:
Add
to the form_load
I created an incident at SyncFusion: https://www.syncfusion.com/support/directtrac/incidents/153276
I've search through the whole code set and I can't find any use of FontDialog in MW5.
I'll ask SyncFusion if this is perhaps an issue with their MetroForm.
I've been working closely with Rick, one of the reporters.
After adding additional debug logging and changing the moment of logging of exceptions we finally have a reason why the crash happens.
The logging:
According to http://www.cyotek.com/blog/working-around-system-argumentexception-only-truetype-fonts-are-supported-this-is-not-a-truetype-font
this exception is thrown when using the System.Windows.Forms.FontDialog component and you select an invalid font. And you can't do a thing about it*, as this exception is buried in a private method of the FontDialog that isn't handled.