[Gtk-sharp-list] gtk-sharp.dll not working on linux because it references win32 dll's

Todd Berman tberman at off.net
Thu Jul 21 15:41:19 EDT 2005


On Thu, 2005-07-21 at 21:35 +0200, Jost Boekemeier wrote:
> Hi,
> 
> > The issue you dont seem to understand is that there
> > is no "default" version.
> 
> Sounds like a fundamental flaw.  We don't care for the
> library version as we use reflection to explore it.
> 


It actually sounds like a flaw in your application.

If your application is not capable of dealing with multiple versions of
a library, it will not run on any .net platform.

If you truly don't care about what version of the assembly you get back,
you can use Assembly.LoadWithPartialName ("gtk-sharp"), however, as
stated in the docs, you will get a version back (if anything matching
that partial name exists), not necessarily the same one on every
machine, or even on the same machine if there are multiple matches.

Not to be crass, but it sounds like your application, or at least the
piece of it that identifies assemblies to be dynamically loaded, is
poorly designed. I would suggest reworking how that bit works, as I am
willing to bet you will get far greater success from a real solution in
the long-term (as well as the potential to move to other platforms
beyond Linux and old copies of mono if you so wish to).

--Todd



More information about the Gtk-sharp-list mailing list