[Gtk-sharp-list] Deploying GTK#/GRE# with a Project Win32

Phillip Dyer p85dyer at gmail.com
Thu Oct 12 09:26:19 EDT 2006


I've copied all my required assemblies in to the projects root directory 
and I think I uninstalled the GTK# assemblies for the GAC.
My project compiles fine using the local assembly references however 
when I try to run it I recieve this Message:

An unhandled exception of type 'System.IO.FileLoadException'

Additional information: The located assembly's manifest definition with 
name 'gtk-sharp' does not match the assembly reference.

I also recieve this in the Debugging Window

An unhandled exception of type 'System.IO.FileLoadException' occurred in 
GTKApp.exe

Additional information: The located assembly's manifest definition with 
name 'gtk-sharp' does not match the assembly reference.


Unhandled Exception: System.IO.FileLoadException: The located assembly's 
manifest definition with name 'gtk-sharp' does not match the assembly 
reference.
File name: "gtk-sharp"
   at GTKApp.MainClass..ctor()
   at GTKApp.MainClass.Main(String[] args)

=== Pre-bind state information ===
LOG: DisplayName = gtk-sharp, Version=2.4.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f
 (Fully-specified)
LOG: Appbase = C:\Documents and Settings\Phillip\My Documents\Visual 
Studio Projects\GTKApp\bin\Release\
LOG: Initial PrivatePath = NULL
Calling assembly : gecko-sharp, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=ccf7d78a55e9f021.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from 
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: gtk-sharp, Version=2.4.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f
LOG: Attempting download of new URL file:///C:/Documents and 
Settings/PThe program '[2860] GTKApp.exe' has exited with code 0 (0x0).
hillip/My Documents/Visual Studio Projects/GTKApp/bin/Release/gtk-sharp.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version

I'm not sure what I'm doing wrong here, if anyone can shed some light on 
this it would be most appreciated.

Thanks,

-Phil

Phillip Dyer wrote:

>Gaëtan,
>
>    Glad to hear that I'm not the only one who wants to know how to do 
>this. I've actually already developed a closed-source
>app that I'm hoping to bundle in this way. If I make any progress I plan 
>on posting it to the Gtk-Sharp-List so that others can benefit from
>it as well. Currently all I really have to go on is this posting from 2004 :
>
>http://lists.ximian.com/pipermail/gtk-sharp-list/2004-December/005249.html
>
>I'm going to keep playing around with it.
>
>Thanks,
>-Phil
>
>Gaëtan Frenoy wrote:
>
>  
>
>>Hello Phillip,
>>
>>Le Wed, 11 Oct 2006 11:04:12 -0400, Phillip Dyer a écrit:
>> 
>>
>>    
>>
>>>   I'm trying to deploy an application that relies on both GTK# and 
>>>Gecko#, I would prefer to have all the GTK#/GTK libraries in the main 
>>>directory or a subdirectory in my program.
>>>   
>>>
>>>      
>>>
>>I don't have a solution (yet!) for you but I do have the same
>>requirements for the application I want to develop.
>>
>>I don't know when I will have time to work on this but I hope
>>I can get some first beta version in the beginning of 2007.
>>
>>If you have some interest, I'd be very happy to share my
>>experiences, ideas and maybe code (I use GPL licence).
>>
>>Have a good evening.
>>
>> 
>>
>>    
>>
>_______________________________________________
>Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>  
>


More information about the Gtk-sharp-list mailing list