Megosztás a következőn keresztül:


How to: Install Office Primary Interop Assemblies

Install the Microsoft Office primary interop assemblies (PIAs) when you install Office.

To install the PIAs when you install Office

  1. Ensure that you have a version of the .NET Framework that is no older than 2.0.

  2. Install Microsoft Office and make sure that the .NET Programmability Support feature is selected for the applications you want to extend (this feature is included in the default installation).

    Warning

    By default, PIA’s are embedded in your solution when you build it so you don’t have to distribute PIAs to users as a prerequisite to using your add-in or customization.

See Also

Tasks

How to: Target Office Applications Through Primary Interop Assemblies

How to: Configure a Computer to Develop Office Solutions

How to: Install the Visual Studio Tools for Office Runtime Redistributable

Reference

Office Primary Interop Assemblies

Concepts

Office Solutions Development Overview

Other Resources

Getting Started (Office Development in Visual Studio)