What is GAC? Where is it located?

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. Assemblies can be shared among multiple applications on the machine by registering them in global assembly cache(GAC).

To install assembly in Cache, use  Gacutil. To run Gacutil, goto “Visual Studio Command Prompt” and type “gacutil -i <assembly_name>”, where (assembly_name) is the DLL name of the project.

 To uninstall assembly, type gacutil –u <assembly name> in  Visual Studio Command Prompt.