This documentation is archived and is not being maintained.

How to: Install Office Primary Interop Assemblies

You must install the Microsoft Office primary interop assemblies in the global assembly cache (GAC) before you can create or run a Visual Studio Tools for Office solution. The interop assemblies enable managed code to interact with a Microsoft Office application's COM-based object model. For more information, see Office Primary Interop Assemblies.

You can install the complete set of primary interop assemblies in two ways:

  • Perform a Complete installation of Microsoft Office.

  • Install them from the redistributable primary interop assemblies package.

Complete Installation

To install the primary interop assemblies when you install Microsoft Office

  1. Install the Microsoft .NET Framework 1.1 or later.

  2. Install Microsoft Office and select the Complete installation option.

During a Typical installation of Microsoft Office, the primary interop assemblies are set to be installed on first use if the .NET Framework is installed. This installation option works on development computers during project creation and on end user computers when an end user runs a Microsoft Office solution.

Redistributable Primary Interop Assemblies Package

The primary interop assemblies for Microsoft Office products are also available in a redistributable Microsoft Windows Installer package:

To install using the redistributable package

  1. Install the Microsoft .NET Framework 1.1 or later.

  2. Run the Windows Installer package.

See Also