473,322 Members | 1,644 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,322 software developers and data experts.

Redirecting assemblies

MT
I have a dll that I am deploying to the GAC. I have had 3 releases of the
dll: 1.1.5.0, 1.1.20.0 and my current release 1.2.10.0. Now, I have used a
publisher policy deployed to the GAC in the past with the following name:
policy.1.1.myAssem.dll. As soon as I go to v 1.2.10.0, my publisher policy
does not work. I have to create a new publisher policy for the 1.2 release
called policy.1.2.myAssem.dll. This sounds really crazy and unmaintainable
to me.

Is there a way I can always deploy one and only one publisher policy that
will take all versions to a particular version of the dll (the latest one)?
I think Microsoft did this to avoid the DLL hell in the COM days, but it is
making everybody's life a little difficult because all we want to do is
redirect to the latest version of the dll (without touching the application
code or config files).

Thanks,
MT
Jul 21 '05 #1
2 913
Maybe you don't want the GAC then?
Just deploy the updated DLL with the updated version of the app.
Done!
"MT" <te**@test.com> wrote in message
news:eR**************@TK2MSFTNGP11.phx.gbl...
I have a dll that I am deploying to the GAC. I have had 3 releases of the
dll: 1.1.5.0, 1.1.20.0 and my current release 1.2.10.0. Now, I have used a
publisher policy deployed to the GAC in the past with the following name:
policy.1.1.myAssem.dll. As soon as I go to v 1.2.10.0, my publisher policy
does not work. I have to create a new publisher policy for the 1.2 release
called policy.1.2.myAssem.dll. This sounds really crazy and unmaintainable
to me.

Is there a way I can always deploy one and only one publisher policy that
will take all versions to a particular version of the dll (the latest one)? I think Microsoft did this to avoid the DLL hell in the COM days, but it is making everybody's life a little difficult because all we want to do is
redirect to the latest version of the dll (without touching the application code or config files).

Thanks,
MT

Jul 21 '05 #2
Maybe you don't want the GAC then?
Just deploy the updated DLL with the updated version of the app.
Done!
"MT" <te**@test.com> wrote in message
news:eR**************@TK2MSFTNGP11.phx.gbl...
I have a dll that I am deploying to the GAC. I have had 3 releases of the
dll: 1.1.5.0, 1.1.20.0 and my current release 1.2.10.0. Now, I have used a
publisher policy deployed to the GAC in the past with the following name:
policy.1.1.myAssem.dll. As soon as I go to v 1.2.10.0, my publisher policy
does not work. I have to create a new publisher policy for the 1.2 release
called policy.1.2.myAssem.dll. This sounds really crazy and unmaintainable
to me.

Is there a way I can always deploy one and only one publisher policy that
will take all versions to a particular version of the dll (the latest one)? I think Microsoft did this to avoid the DLL hell in the COM days, but it is making everybody's life a little difficult because all we want to do is
redirect to the latest version of the dll (without touching the application code or config files).

Thanks,
MT

Nov 22 '05 #3

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

Similar topics

3
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the...
6
by: Tom Dacon | last post by:
If you're not putting assemblies in the GAC, but are referencing shared code with copylocal=true into the projects that use them, is there any value to signing the assemblies? In the environment...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
4
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you...
8
by: Charles Law | last post by:
I'm sorry to keep harping on about this one, but it is really quite important for me to be able to list _all_ required assemblies in my Help About box. Herfried kindly posted some code before that...
8
by: Morpheus | last post by:
I am trying to test a function that outputs text to the standard output, presumably using a cout call. I do not have access to the source, but need to test the output. Is this possible? I can...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
17
by: mansb2002 | last post by:
Hi, We recently moved our webserver from Win2K to Win2003. The application works fine. Only problem is that when user views a report as a PDF, IE does not show it. The following code is used to...
2
by: Tham | last post by:
Hi I have two assemblies with the same name (e.g MyData.dll) Both assemblies are strong name and have different version (one is 1.0.0.1 and the other is 1.0.0.2) There are some applications...
4
by: illegal.prime | last post by:
Hi all, I'm getting unexpected results when trying to preload assemblies into an AppDomain I'm creating. Upon creation of the AppDomain - I attach an AssemblyResolve to both my current AppDomain...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.