How to: Install Office Primary Interop Assemblies Home
This page is specific to:.NET Framework Version:2.03.54.0
Visual Studio Tools for the Microsoft Office System
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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View