Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
How to Install an Assembly in the GAC

How to Install an Assembly in the GAC


This topic describes how to manually install either a BizTalk assembly or a non-BizTalk .NET assembly in the global assembly cache (GAC) by using the Gacutil tool included with Visual Studio.

Using Visual Studio, you can have BizTalk assemblies automatically installed in the GAC when they are deployed from Visual Studio by specifying this option in Deployment Properties for the BizTalk project, as described in How to Set Deployment Properties in Visual Studio. You cannot, however, use this method to install non-BizTalk .NET assemblies in the GAC; you must install them manually, as described in this topic.


You can also specify deployment options for assemblies after they are deployed into a BizTalk application by using the BizTalk Server Administration console. For more information, see How to Modify the Deployment Options of a BizTalk Assembly. See also How to Modify the Deployment Options of a .NET Assembly, COM Component, File, or BAM Artifact.


To perform this procedure, you must be logged on with an account that has Write permission on the GAC. The Administrators account on the local computer has this permission.

To install an assembly in the GAC

  1. Copy the BizTalk assembly to your local computer into a folder.

  2. Start Visual Studio Command Prompt.

  3. Type the following command:

    gacutil.exe /if "<path to the assembly .dll file>"

    This installs the assembly to the GAC, overwriting any existing assembly that has the same assembly name.

Community Additions

© 2015 Microsoft