3) Make sure to sign the policy assembly with the same strong name as the original.
4) Make sure to distribute the policy file along with the policy assembly. Installing the policy assembly in the GAC alone will not suffice. Note that any change made to the policy file after creating the policy assembly will not take effect.
5) Always use /link (to the policy file) in the "al" command while creating the policy assembly. Do not use /embed. It doesn't seem to be supported.
Some good links:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingpublisherpolicyfile.asp
http://www.newtelligence.com/downloads/downloads-basta2001.aspx
http://www.only4gurus.com/DotNet/studies/managevers.htm
|