How to: Install Office primary interop assemblies
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Install the Microsoft Office primary interop assemblies (PIAs) when you install Office.
Ensure that you have a version of the .NET Framework that is no older than 2.0.
To install the PIAs when you install Office
Install Microsoft Office.
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.
- 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)