471,305 Members | 1,214 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Installion of Publisher Policy

I have a publisher policy setup that consists of the following two
files:

policy.0.0.assembly.dll
policy.config

The policy.config file contains the following:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>

<assemblyIdentity name="assembly" publicKeyToken="043d211bb0f6e830"
/>
<bindingRedirect oldVersion="0.0.0.2" newVersion="0.0.0.3"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

The policy.0.0.assembly.dll was generated as follows:
al /link:policy.config /out:policy.0.0.assembly.dll
/keyfile:company.keys

I have copied both files to the target PC and then added the dll to the
GAC. Everything appears to function correctly.

However, I want this dll to be installed automatically from a visual
studio .net setup project.

In my setup project I have added a Global Assembly Cache folder and
added the policy.0.0.assembly.dll.

My question is, where do I put the config file such that the
policy.0.0.assembly.dll file can find it?

When an assembly is added to the GAC from a MSI, no codebase is
provided. I assume that when I manually added the assembly to the GAC,
the config file was located by the path specified in the codebase.

Any suggestions?
Andrew

Jul 21 '05 #1
0 948

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Timothy M Hodgson | last post: by
1 post views Thread by cmrchs | last post: by
reply views Thread by andrew.noel | last post: by
1 post views Thread by =?Utf-8?B?U2NvdHQ=?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.