[MonoDevelop] gtk# application on windows

Radu kenjiru.ro at gmail.com
Mon Feb 12 14:59:10 EST 2007


I haven't solved this problem yet. When I try to run my application on 
Windows I get the following error:


Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'gtk-sharp, Version=, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies. The system
cannot find the file specified.
File name: 'gtk-sharp, Version=, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' at ProiectPSBD.MainClass.Main(String[]

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value

On Windows I've installed gtksharp-runtime-2.8.3-win32-0.0.exe on 
Microsoft .NET Framework 2.0.

On Linux I can't downgrade from gtk-sharp-2.10, I get an error when I 
compile the next available version from portage, gtk-sharp-2.8.2. I 
can't find gtk-sharp-2.8.3 sources anywhere...

Thanks, and sorry for double posting.

Sanford Armstrong wrote:
> On 2/11/07, Radu <kenjiru.ro at gmail.com> wrote:
>> Hello,
>> I've compiled my application for 1.1 Runtime version. So will my
>> application run on .NET 2.0 or it will require .NET 1.1?
> Normally you can run .NET 1.1 applications on .NET 2.0 with no
> problem.  In the rare case that this doesn't work, you just have to
> edit [appname].exe.config to point to the earlier .NET framework
> version.  But you shouldn't have to do that.  If you're in doubt,
> check MSDN for the list of obscure incompatibilities.
>> On linux I've used gtk-sharp-2.10.0. What do I have to do to lower the
>> dependencies of the gtk# related libraries?
> If you are not using any 2.10 features (e.g. printing, status icon,
> etc), then you should be fine using 2.8 on Windows.
> See this page for assistance getting gtk-sharp on MS .NET:
> http://www.mono-project.com/Gtk-Sharp_Installer_for_.NET_Framework
> Best,
> Sandy

More information about the Monodevelop-list mailing list