On Jan 30, 2008 4:47 AM, Philip Van Hoof <<a href="mailto:spam@pvanhoof.be">spam@pvanhoof.be</a>> wrote:<br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tinymail's -sharp install directory doesn't have these .config files<br>installed. I'm not really immediately finding what in the build of<br>gtk-sharp is installing them (I kept the Makefile.include identical for<br>
that part of the build Makefile code afaik).<br><br>I'm guessing these config files are necessary for the .dll->.so mapping?<br>Something like that is what they seem to contain as XML data. Obviously<br>I mimicked them as good as possible using gtk-sharp's code.</blockquote>
<div><br>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.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also, what is this policy.$(API_VERSION).config file for by the way?<br><div class="Ih2E3d">
</div></blockquote><div><br>Policy assemblies are the backward compatibility mechanism on .Net. A program built against assembly version <a href="http://2.4.0.0">2.4.0.0</a> 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 <a href="http://2.4.0.0">2.4.0.0</a>.<br>
<br>Mike </div></div><br>