Export (0) Print
Expand All

Installing and Referencing the Outlook PIA

You must first install the Outlook Primary Interop Assembly (PIA) in the Global Assembly Cache (GAC) before you can incorporate information from the PIA in an Outlook managed add-in. You can do so by choosing the Typical installation of Office and then adding .NET Programmability Support for Outlook.

To add .NET Programmability Support for Outlook after Outlook is installed

  1. In Control Panel, click Uninstall a Program.

  2. In the Uninstall or change a program dialog box, select your installation of Office and click Change.

  3. Select Add or Remove Features.

  4. Click Continue.

  5. In the Installation Options tab, click the '+' to expand the application for which you want to install the PIA.

  6. Click the drop-down arrow adjacent to .NET Programmability Support and select Run from My Computer.

After installation, if you are using Visual Studio to create the managed project, you can add a reference to the Microsoft Outlook 14.0 Object Library component. Subsequently, in the object browser, under the Microsoft.Office.Interop.Outlook namespace, you can see managed interfaces in the PIA that have names corresponding to objects in the Outlook object model.

For information about other ways to install the PIA for Office, see How to: Install Office Primary Interop Assemblies.

Community Additions

ADD
Show:
© 2014 Microsoft