---
title: "Global Assembly Cache (GAC) in .Net"  
description: "In this blog, I’m explaining about GAC in .Net    Each computer on which the common language Runtime (CLR) is installed has a machine-wide code cache"  
author: "priyanka kushwaha"  
published: 2015-01-21  
updated: 2015-01-21  
canonical: https://www.mindstick.com/blog/725/global-assembly-cache-gac-in-dot-net  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# Global Assembly Cache (GAC) in .Net

In this blog, I’m explaining about GAC in .Net\

\
Each computer on which the [common language Runtime](https://www.mindstick.com/articles/16/common-language-runtime) (CLR) is installed has a machine-wide code cache called a ‘[Global assembly](https://www.mindstick.com/forum/158570/what-is-the-global-assembly-cache-gac-and-how-is-it-used-in-dot-net) Cache’. The Global Assembly cache (GAC) enables you to share assemblies across numerous applications.

The GAC is automatically installed with the .NET runtime. The global assembly cache is located in ‘Window/ WinNT’ [directory](https://www.mindstick.com/forum/226/how-to-get-application-directory-using-c-sharp-csharp) and inherits the directory’s [access control](https://www.mindstick.com/forum/158579/how-does-the-dot-net-framework-provide-support-for-security-and-access-control) list that administrators have used to protect the folder.

##### GACUtil.exe

The Global Assembly Cache tool (GacUtil.exe), the allow you to view and manipulate the [content](https://www.mindstick.com/articles/13019/get-the-best-content-marketing-pricing-packages-for-your-brand) of the Global Assembly Cache.

##### How to add an Assembly to GAC

We can [install](https://www.mindstick.com/articles/12876/the-top-5-reasons-to-buy-and-install-a-tonneau-cover) as assembly into the global assembly cache (GAC) in two way:

Type the following at the [command prompt](https://answers.mindstick.com/qa/51716/how-to-make-bootable-pendrive-using-cmd-windows-command-prompt).

gacutil -i AssemblyName

##### For remove

gacutil /u AssemblyName (Fully Qualified Name of Assembly)

---

Original Source: https://www.mindstick.com/blog/725/global-assembly-cache-gac-in-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
