[MonoDevelop] gtk# application on windows
AdamWood at xephi.co.uk
Sat Mar 3 14:24:03 EST 2007
I've been running into the same problem as below today. I was just wondering
if anyone has found a fix for it yet?
I managed to redirect the bindings to use gtk-sharp-2.8 and the app will now
start but there are a lot of exceptions generated. As far as I know I'm not
using any 2.10 specific features as I've only fixed a few bugs and
recompiled. I think the errors are related to TreeView objects but I'll try
to get more info on that tomorrow.
Any help would be appreciated. Thanks,
On Monday 12 February 2007 19:59:10 Radu wrote:
> 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=18.104.22.168, Culture=neutral,
> PublicKeyToken=35e10195dab3c99f' or one of its dependencies. The system
> cannot find the file specified.
> File name: 'gtk-sharp, Version=22.214.171.124, 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
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
More information about the Monodevelop-list