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
Posted Mar 25, 2021