Thursday 20 April 2017

Gacutil.exe (Global Assembly Cache Tool)

  1. Open CMD as administrator.
  2. Type the following:
    gacutil /i path_to_assembly_file /f
    For example, type:
    C:\Windows\system32>gacutil /i "D:\bkp\Project\Code xxxx\XXXXX\XXXXXX
    \bin\Release\xxxxx.dll"
    Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.33440
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Assembly successfully added to the cache