On Jan 30, 2008 4:47 AM, Philip Van Hoof &lt;<a href="mailto:spam@pvanhoof.be">spam@pvanhoof.be</a>&gt; wrote:<br><div class="gmail_quote"><div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tinymail&#39;s -sharp install directory doesn&#39;t have these .config files<br>installed. I&#39;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&#39;m guessing these config files are necessary for the .dll-&gt;.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&#39;s code.</blockquote>
<div><br>gacutil installs .dll.config files if they are present.&nbsp; They support different dll/so/dylib naming conventions across various platforms.&nbsp; 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.&nbsp; We use dllmap entries in the .config file so that mono can map them to the appropriate nomenclature on *nix and mac.<br>
&nbsp;<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.&nbsp; 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.&nbsp; One way to satisfy that requirement is to install a policy.2.4 assembly which &quot;links&quot; 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>