Global Assembly Cache.
What’s in the GAC?
See GAC content:
C:\> gacutil -l or C:\> gacutil /l or a specific assembly: C:\> gacutil -l msshrtmi
Or alternatively, look into the following folders:
.NET Framework 4 and newer: %windir%\Microsoft.NET\assembly. Earlier versions of the .NET Framework: %windir%\assembly.
If you have Visual Studio installed,
GACUTIL should be accessible in Visual Studio Developer Command Prompt:
If you don’t have Visual Studio, chances are
GACUTIL is not recognized in the command prompt. But it doesn’t mean you don’t have it.
Try look in the following folders:
C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\bin C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools
Or any other version available.
GACUTIL comes with Windows SDK. If you still can’t find, download Windows SDK.
Installing New GAC
C:\> gacutil /i MyLibrary.dll
GACUTIL will place the assembly in the GAC directory based on the version of .NET Framework used to compile the assembly.
You don’t need to restart your computer for the installation to take effect.