How to Create a Publisher Policy Assembly

This post is only for a reference in how to create the config file and the command line arguments needed for the Assembly Linker (AL) tool to create the publisher policy file.

For a full reference on how to create a publisher policy file please refer to – http://msdn.microsoft.com/en-us/library/dz32563a.aspx

<assemblyIdentity name=”myAssembly”
publicKeyToken=”32ab4ba45e0a69a1″
culture=”en-us” />

<bindingRedirect oldVersion=”1.0.0.0″
newVersion=”2.0.0.0″/>

After creating the config file, you need to compile it into a dll using the Assembly Linker (al) utility as follows.
al /link:publisherPolicyFile /out:publisherPolicyAssemblyFile /keyfile:keyPairFile /platform:processorArchitecture
Load file into GAC



Categories: Misc

Tags:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: