[MonoDevelop] windows 7 x64 and gtk# app

Sharique uddin Ahmed Farooqui safknw at gmail.com
Mon Oct 5 14:24:52 EDT 2009


How ca n I do that? I did not find it project options.

On 10/5/09, James P Michels III <james.p.michels at gmail.com> wrote:
> Your trying to load 32bit assemblies into a 64bit app.
>
> You can change your app to force an x86 platform target as a workaround.
>
> I don't believe there are 64bit GTK# assemblies for windows yet.
>
> Sharique uddin Ahmed Farooqui wrote:
>> 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:
>>
>>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


-- 
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