What is GAC in .NET?

  • GAC stands for Global Assembly Cache
  • It is a place in the Windows directory where the assemblies (the DLL files) designated to be shared by the applications are stored for reuse.
  • Any assembly or component which is desired to be shared across applications in a machine is registered on the Global Assembly Cache.
  • To register an assembly into the Global Assembly Cache, we can do so by using the GACUtil.exe as below:
> gacutil -i [Path][Assembly Name].dll

C# Concepts Posted Mar 25, 2021

You can now show your support. 😊

We use cookies to provide you with a great user experience, analyze traffic and serve targeted promotions.   Learn More   Accept