I have programmed a small C# application using MonoDevelop on Ubuntu. I have used the Gtk#-library in order to render the graphical user interface controls. However, when I execute the application on Windows using mono, the application always hangs at the construction of the FileChooserDialog which means that the user interface thread does not respond anymore.
FileChooserDialog OpenFileDialog = new FileChooserDialog ("Open file...", this, FileChooserAction.Open);
This line of code is placed in an OnMenuItemActivatedEvent and works fine on Ubuntu. Can anyone suggest why it does not work on Windows?