Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Getting Started
 How to: Install Office Primary Inte...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:

Want more? Here are some additional resources on this topic:

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker