1
Reply

How to add a assembly in GAC(Global Access cache)

vijayarani srinivasan

vijayarani srinivasan

Jun 09, 2011
5.8k
0

    We can add an assembly to the cache in different ways


    1.By using the command GACUTIL /i

    <drive>:\<custom_folder_path>\Bin folder to Global Assembly Cache (GAC). This can be performed by the installer or using the Visual  Studio Command Prompt.

    Use the following command to add the Dlls(example Test.dll) to GAC:

    gacutil /i "<drive>:\<custom_folder_path>Test.dll" 

    There are few other ways by which we can add assembly to the GAC.

    2.By using .Net frame work configuration tool.(If you go to control panel -> Administartive tools, you will find Microsoft Frame work configuration).

    Few more ways are there..

    Murali Nalluri
    June 19, 2011
    0