[MonoDevelop] windows 7 x64 and gtk# app

Sharique uddin Ahmed Farooqui safknw at gmail.com
Mon Oct 5 13:42:42 EDT 2009


Hi,

I'm using windows7 64bit. I have installed Monodevelop 2.2beta1. When
try to run/debug a GTK# appplication, it gives following exception.

System.TypeInitializationException was unhandled
  Message="The type initializer for 'Gtk.Application' threw an exception."
  Source="gtk-sharp"
  TypeName="Gtk.Application"
  StackTrace:
       at Gtk.Application.Init()
       at ColorManager.MainClass.Main(String[] args) in
f:\Sharique\Projects\ColorManager\ColorManager\Main.cs:line 10
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.BadImageFormatException
       Message="An attempt was made to load a program with an
incorrect format. (Exception from HRESULT: 0x8007000B)"
       Source="glib-sharp"
       StackTrace:
            at GLib.Thread.glibsharp_g_thread_supported()
            at GLib.Thread.get_Supported()
            at Gtk.Application..cctor()
       InnerException:

-- 
Sharique uddin Ahmed Farooqui
(C++/C# Developer, IT Consultant)
http://safknw.blogspot.com/
"Peace" is the Ultimate thing we want.


More information about the Monodevelop-list mailing list