Do I misunderstand the complexity of using "binding redirects" within the GAC? It has been my impression one can deploy a new version of an assembly into the GAC, and along with it a "publisher policy" file that causes all clients attempting to bind to any desired older version(s) of that assembly to bind instead to the new one, without changing the bindings to other, not-explicitly-rebound versions.
So if you have 1.0.0.1, 1.0.0.2, 1.0.1.1, and 1.0.1.2 in the GAC, with some of N different clients having been built against (and tested with) each one, you can put in 1.0.1.3 while specifying that those bound to 1.0.0.1 and 1.0.1.1 should continue to bind to those versions, but those bound to 1.0.0.2 and 1.0.1.2 should get 1.0.1.3 instead -- or any other combination of old-version / new-version re-bindings you desire. That is in addition to the ability to specify the desired bindings within an application- level configuration file (that of course is more work when there are many clients). It's not the case that it's easy to be certain that unchanged clients will work correctly when they're re-bound, but that applies whether code is in the GAC or not. Am I mistaken about this? (This has been a long-lasting thread, and I don't recall what the original objection to GACing things is.) At 10:53 AM 6/4/2004, Clemens F. Vasters wrote (in part) >For W2K it's GAC all the time. [snip] > >-----Original Message (edited) ----- >From: Bill Bassler >Sent: Friday, June 04, 2004 1:26 PM >Subject: Re: [ADVANCED-DOTNET] Best Practices: Sharing business >assemblies, the GAC, deployment and component versioning > >Yes. Unfortunely we're still on W2K here and I believe require >dllhost for out of proc components. >So is the following correct. If: >1. You're running on W2K. >1. You need to use Serviced components. >2. You want to run them out-of-process. > >You have to GAC them. Is this correct or do other options? J. Merrill / Analytical Software Corp =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
