DLL, GAC and version

Posted on 2011-10-03
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?
Question by:HLRosenberger
    LVL 4

    Accepted Solution

    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.
    LVL 1

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now