You must Sign In to post a response.
  • Category: ASP.NET

    What is mean by Global Assembly Cache

    Hai All,

    May i know what is mean by Global Assembly cache with definition please.
    And May i know the how to change private assembly to GAC with procedure please

    Thanks and Regards,
  • #761161
    Hello Chellappan,

    Each computer on which the CLR is installed has a machine-wide code cache which is known as Global Assembly Cache (GAC).

    Gacutil.exe (Global Assesmbly Cache Tool) allows us to view and manipulate the content of Global Assembly Cache.

    Windows 7 Path for Gacutil.exe : C:\Windows\Microsoft.NET\Framework\v1.1.4322

    Follow the MSDN Library with steps for your reference :

    Hope this will help you.

    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

  • #761163
    There are chances that we have more than one project in our system and both may have some properties in common like sending mail or converting to pdf etc or some db call.
    By keeping it in bin folder make it accessible to that particular project. So we are keeping in a common place called GAC, so that any one can refer it. it is situated in C:\Windows\assembly. Try go to this location using cmd and type dir. you can see GAC Folder and the files in that.

    If we are installing any third party controls, a dll will be going to this place so that it can be accessible to all

    You can make private assembly to GAC by creating a strong name

    Do Good... Enjoy your life.....

  • #761164
    Hi Chellapan.

    GAC(Global Assembly Cache) is a repository used to store assemblies of the applications.

    The assemblies which we want to share among different applications, then we register that dll(assembly) as shared assembly using the strong name.

    Gacutil.exe is used to install the assembly in GAC.

    For more information regarding installing and removing the assembly from GAC refer below link.


    Thota Sridhar.
    If you learn from defeat..
    You haven't really lost..

    Sridhar Thota.
    Editor: DNS Forum.

  • #761173

    If you want to use the same dll in multiple projects in that scenario GAC ( Global Assembly Cache ) is helpful to you. You just registered the assembly as GAC and generate key and you can easily use that dll in N no of projects this is Shared Assembly.

    If you want to use the dll in only one particular project in that scenario you can call it from your bin folder this is called as Private Assembly.

    If you want to know how to create GAC then go through the below link this will helpful to you.

    Hope this will helpful to you..

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

Sign In to post your comments