[Mono-devel-list] [Patch] Publisher Policy support
Carlos Alberto Cortez
calberto.cortez at gmail.com
Thu Jul 21 04:12:47 EDT 2005
Hello,
I'm attaching a patch which adds support for publisher policy files
( http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/cpguide/html/cpconcreatingpublisherpolicyfile.asp ), which allows to
redirect one assembly version to another.
I'm using a per-domain cache, which saves the loaded publisher policies,
and also the ones that couldn't be successfully loaded (this helps us to
avoid trying to load the policy more than one time, and also adds
consistency to this process).
Note that the policy is loaded before the assembly itself is loaded, as
long as the asembly is strong named.
I have successfully re-built my mono tree, and have also successfully
tested it with some libraries (like gtk-sharp).
Comments are welcome.
Carlos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publisher-policy.patch
Type: text/x-patch
Size: 17359 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050721/6de0938a/attachment.bin
More information about the Mono-devel-list
mailing list