Re: [Gtk-sharp-list] Tinymail DotNet bindings update



On Jan 30, 2008 4:47 AM, Philip Van Hoof <spam pvanhoof be> wrote:
 
Tinymail's -sharp install directory doesn't have these .config files
installed. I'm not really immediately finding what in the build of
gtk-sharp is installing them (I kept the Makefile.include identical for
that part of the build Makefile code afaik).

I'm guessing these config files are necessary for the .dll->.so mapping?
Something like that is what they seem to contain as XML data. Obviously
I mimicked them as good as possible using gtk-sharp's code.

gacutil installs .dll.config files if they are present.  They support different dll/so/dylib naming conventions across various platforms.  The convention is to use win32 dll naming in the DllImport statements in the generated code, so that assemblies work on the MS runtime on win32.  We use dllmap entries in the .config file so that mono can map them to the appropriate nomenclature on *nix and mac.
 
Also, what is this policy.$(API_VERSION).config file for by the way?

Policy assemblies are the backward compatibility mechanism on .Net.  A program built against assembly version 2.4.0.0 requires that specific assembly version be available at runtime.  One way to satisfy that requirement is to install a policy.2.4 assembly which "links" to a newer assembly version that provides all of the API exposed by 2.4.0.0.

Mike



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]