Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / February 2004

Tip: Looking for answers? Try searching our database.

Redirecting assemblies

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MT - 06 Feb 2004 16:42 GMT
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
Dino Chiesa [Microsoft] - 13 Feb 2004 17:54 GMT
Maybe you don't want the GAC then?
Just deploy the updated DLL with the updated version of the app.
Done!

> 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
[quoted text clipped - 13 lines]
> Thanks,
> MT

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.