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 VSTO Add-in or customization.

See also

Office primary interop assemblies
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
Office solutions development overview (VSTO)
Get started (Office development in Visual Studio)