Project 2013 client programming
Published: July 16, 2012
You can use Visual Basic for Applications (VBA) for macros, and use Visual Studio 2012 to create add-ins and task pane apps for Project 2013.
Applies to: Project Professional 2013 | Project Standard 2013
The Project 2013 desktop client applications—Project Standard 2013 and Project Professional 2013—can be customized and extended by using Visual Basic for Applications (VBA) to write macros. You can use Visual Studio 2012 to customize the ribbon user interface and create complex add-ins. Apps for Office enables a new extensibility model for task panes in Project that are built on a common Office 2013 platform. Project Standard 2013 and Project Professional 2013 can run general apps for Office and use task pane apps that are developed specifically for Project to integrate with SharePoint, other websites and web applications, and external data.
Moving to Visual Studio VBA is useful for recording macros and developing relatively simple automation solutions. To develop task pane apps, add-ins, and more complex, secure, scalable, and easily deployed solutions, we recommend that you use Visual Studio 2012. The Microsoft .NET Framework 4.0 and the Project 2013 primary interop assembly provide many advantages for developing and deploying solutions that automate and integrate the Project 2013 desktop clients.
You can use Visual Studio 2010 to develop Project apps. However, Visual Studio 2012 includes templates and extensions that are designed to create apps for Office clients.
The MSProject object model for VBA in Project 2013 is essentially the same as the Microsoft.Office.Interop.MSProject object model for managed-code solutions with Office Developer Tools for Visual Studio 2012 (also known as VSTO). Visual Studio 2012 includes templates for developing application-level add-ins for Project 2010 and for Project 2013 (either the Project Standard or Project Professional versions). VSTO and Office Developer Tools for Visual Studio 2012 simplify developing, testing, and deploying advanced integration solutions that can use the Project desktop client and other Office 2013 applications, and integrate with SharePoint sites, lists, and workflows.
Task pane apps and other apps for Office and SharePoint can be sold in the Office Store (see http://office.microsoft.com/store/) for use with both Project Online and on-premises installations. VBA macros and VSTO add-ins cannot be distributed in the Office Store; they are designed for local use with Project Standard and Project Professional. You can distribute VBA macros within a project .MPP file, install them in the Global.MPT file on your computer, or distribute them in the enterprise global template in Project Server 2013. VSTO add-ins can be distributed more securely through ClickOnce deployment, which enables easy updates.
Project Server 2013 architecture Shows how the Project clients interact with Project Server.