473,239 Members | 1,552 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,239 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 1025

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Timothy M Hodgson | last post by:
In the Assembly Load Trace, the error: Publisher policy file is not found comes up. Is this a problem with locating the assembly? Is a publisher policy file required or even necessary as long as...
0
by: Doug | last post by:
Hello, We are having a problem with a component in our system that uses publisher policy files. Whenever it gets modified and moved out to where our build processes reference components for other...
0
by: Doug | last post by:
I have component A that references component B and component B uses versioning and publisher policy files. Component A also references component C and component C also references component B. A...
0
by: Ronnie P | last post by:
The computer hang during installion of .NET Framework 1.1 SP 1. After restart and try ta new installion, I get the message fatal error during installation ,internal error 3711.S867460. I get the...
1
by: Seb LM | last post by:
Hello, I'd like to define a publisher policy which covers many versions of assembly from which the "major.minor version" are different but it's not possible to make a such publisher policy. So...
1
by: cmrchs | last post by:
Hi, I'm having problems using publisher policy in .NET 2.0. whereas I didn't in .NET 1.1 Scenario : I have a version3.0 component against which a client is compiled. Then creating version3.1...
1
by: MT | last post by:
We have a .NET dll that we are deploying to our customers using a deployment project in VS .NET 2003. There is a lot of information about creating publisher policies on the web, but we have not...
0
by: andrew.noel | last post by:
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>...
1
by: =?Utf-8?B?U2NvdHQ=?= | last post by:
Publisher policies sound just like what I need but I just can't get these things to work. There are several good kb articles that seem to show exactly what needs to be done.... Here is my...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.