简体   繁体   中英

Where can I find “Outlook 2016 Add-in” for Visual Studio?

I want to specifically create a VSTO for Outlook 2016 Desktop application but my Visual Studio 2013 Professional edition only has "Outlook 2013 Add-in" and the "App for Office" creates a Web App.

Where can I find this installer/option?

See Walkthrough: Creating Your First VSTO Add-In for Outlook . You need to choose the Outlook 2013 Add-in template in Visual Studio. Then you can replace the Outlook PIA with a new one which corresponds to Outlook 2016.

You may find the Running Solutions in Different Versions of Microsoft Office article helpful.

PS Try to install http://aka.ms/officedevtoolsforvs2015

If you have Office 2016 installed then you should have the Office 16.0 Object library in your COM references in Visual Studio.

I had this issue with the 2016 template option not showing and a build error of Cannot debug project because required version of MS Office application is not installed when I tried picking 2013.

Once I enabled the 16.0 Object Library the PIA (Primary Interop Assemblies) were added and after restarting Visual Studio the Outlook template option shows Outlook 2013 and 2016 VSTO Add-in

Visual Studio COM参考

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM