Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is GAC (Global Assembly Cache) located? How it is Useful? [duplicate]

Tags:

c#

.net

I read more about GAC but i am not clear till now.

Few things what i gathered is, GAC has same assembly with different versions. But i cannot able to find how to create two assembly with different versions and keeping in same folder.

like image 285
Sivam Avatar asked Sep 26 '13 13:09

Sivam


People also ask

Where is Global Assembly Cache GAC?

Starting with the . NET Framework 4, the default location for the Global Assembly Cache is %windir%\Microsoft.NET\assembly.

What is Global Assembly Cache GAC and what is the purpose of it?

The Global Assembly Cache (GAC) is a folder in Windows directory to store the . NET assemblies that are specifically designated to be shared by all applications executed on a system.

How do I clear GAC Global Assembly Cache?

There are two ways to remove an assembly from the global assembly cache (GAC): By using the Global Assembly Cache tool (Gacutil.exe). You can use this option to uninstall assemblies that you've placed in the GAC during development and testing. By using Windows Installer.

Where is the GAC folder in Windows 10?

NET Framework SDK installed, you can access the GAC through windows explorer by opening C:\Windows\Assembly . The image below shows you how the GAC is displayed in Explorer using the extension. Using this view, you can add assemblies to the GAC by simply dragging and dropping them into the ASSEMBLY folder.


1 Answers

It is located in %windir%\assembly (for example, C:\WINDOWS\assembly) and it is a shared repository of libraries.

like image 189
Flea777 Avatar answered Oct 03 '22 00:10

Flea777