New to Telerik UI for WinForms? Download free 30-day trial

Add/Remove RadControls to the Global Assembly Cache (GAC)

Adding controls to GAC by using the gacutil tool (Windows XP, Vista, Win7)

To add Telerik controls to the Global Assembly Cache (GAC):

  1. Run the .NET command prompt (Start >> Programs >> Microsoft VS.NET >> VS.NET Tools >> VS.NET prompt)

  2. Start the gacutil.exe tool with -i parameter (install) and the full path to the control's DLL. For example:

    • gacutil.exe -i "C:\Program Files (x86)\Progress\Telerik UI for WinForms "Version"\bin40\TelerikCommon.dll"

    • gacutil.exe -i "C:\Program Files (x86)\Progress\Telerik UI for WinForms "Version"\bin40\Telerik.WinControls.dll"

To get information on the the assembly attributes (Version, Culture, PublicKeyToken), run the gacutil /l command which will return a list of all the assemblies in the GAC. You can also see the information associated with a particular assembly using the -l parameter. For example:

  • gacutil -l TelerikCommon*

The command above will return:

  • TelerikCommon, Version=5.0.3.0, Culture=neutral, PublicKeyToken=5bb2a467cbec79, processorArchitecture=MSIL

Removing assemblies by using the gacutil tool (Windows XP, Vista, Win7)

To remove assemblies via the gacutil tool, please see the gacutil.exe tool's help.

Adding and removing controls to GAC manually (Vista, Win7)

Simply copy the dll files from the installation directory to C:\WINDOWS\assembly. This is equivalent to running the gacutil.exe utility.

To remove the assemblies, open C:\WINDOWS\assembly and select the assemblies you want removed. Press DELETE on the keyboard.

In this article