Copyright Accelerated Ideas 2007 Legacy Blog Posts | Blog Home | .NET Components

Installing components in the GAC


1/2/2007

The Global Assembly Cache (GAC) enables you to share assemblies across numerous applications. You needn’t worry about having to install the GAC because it is automatically installed with the .NET runtime. Should you need to find specific component dll’s you can navigate to C:\\WINNT\\Assembly

Note: All of our components already have strong names and are ready to install in the GAC.

Developers can install the .dll file by using the Gacutil Tool or by dragging the .dll file into the appropriate directory.

If you use the Gacutil Tool, you can use the following command:

gacutil -I \"C:\\MyComponents\\AIButton.dll\"


(Obviously specifying the exact path to the dll)

If you want to drag the file, use Microsoft Windows Explorer. Open two instances of Windows Explorer. In one, navigate to the location of the .dll file output for your console project. In the other, navigate to c:\\[SystemRoot]\\Assembly.

Drag your .dll file into the folder


< Blog Home