There are various reasons for strong-naming an assembly. These include:
* Only strong-named assemblies can be put into the GAC.
* Strong-named assemblies can only reference other strong-named assmeblies.
* Strong-named assemblies are uniquely identifiable by key, name and version
and can be verified as not having been tampered with.
In our scenario, we needed to make our core application signed, which requires
that all third party DLLs are also signed. The ildasm/ilasm workaround for
retro-signing does not work for or-tools DLLs likely due to the unusual linking
process.
I've modified Makefile.csharp.mk to consider the variables CLR_KEYFILE and
CLR_DELAYSIGN which can be passed as arguments to make. Specifying CLR_KEYFILE
(and optionally CLR_DELAYSIGN) will produce signed DLLs and test executables. A
diff against r2200 is attached.
Original issue reported on code.google.com by t...@zanyants.com on 5 Sep 2012 at 11:17
Original issue reported on code.google.com by
t...@zanyants.com
on 5 Sep 2012 at 11:17Attachments: