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
Copy the BizTalk assembly to your local computer into a folder.
Start Visual Studio Command Prompt.
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.