Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

DLL, GAC and version

Posted on 2011-10-03
2
Medium Priority
?
559 Views
Last Modified: 2012-05-12
If I add an assembly/DLL to the GAC, and now I have a new version of my DLL and I install it to the GAC, does the GAC maintain all versions?  or if my DLL is called "MyDLL", then there can only be one "MyDLL" in the GAC and any app that uses "MyDLL" will get the version in the GAC?
 
0
Comment
Question by:HLRosenberger
2 Comments
 
LVL 4

Accepted Solution

by:
Teggert earned 2000 total points
ID: 36904744
Assemblies in the GAC are referenced by strong name and version. So if you update your strongly named assembly in the GAC with a new version, when you register it in your application you'll need to inidicate which version to use. The GAC will hold all installed versions. It won't simply update the assembly to the latest version across the board.
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 36904867
Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question