Udostępnij za pośrednictwem


Project 2010 SDK Documentation

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

Publish date of this reference: July 2011 (SDK update for the Service Pack 1 [SP1] release of Project 2010)

Welcome to the Microsoft Project 2010 Software Development Kit (SDK). The SDK contains documentation, code samples, how-to articles, and programming references to help customize and integrate the Project 2010 clients and Microsoft Project Server 2010 with a wide variety of other desktop and business applications for enterprise project management.

This article includes the following sections:

  • Introduction to the Project SDK

    • Download

    • What's New in the Project SDK

    • Future SDK Releases

  • Sections in the Project SDK

Programmability changes in Service Pack 1  For a summary of major new features in Microsoft Project Server 2010 SP1, see What's New for Developers in Project 2010.

Important

We recommend that you develop custom solutions in a test environment. Solutions developed for versions of Project Server 2010 that are earlier than the current installed version should be recompiled with updated references, and may need additional changes.

Introduction to the Project SDK

Project Server 2010 is a platform for building enterprise project management solutions. The Project Server 2010 architecture is based on the platform introduced in Microsoft Office Project Server 2007, with many additions and improvements. For a general overview of the Project Server 2010 development platform, see Getting Started with Development for Project 2010 on MSDN.

Project Server is built on the Microsoft .NET Framework 3.5 and Microsoft SharePoint Server 2010 Enterprise version. The articles and samples in this SDK provide a starting place for developing custom solutions; they do not address all programmability features of Project Server or Project Professional. The Project Developer Center includes links to Project articles, blogs, videos, webcasts, visual how-to articles, and other resources.

The Project 2010 SDK includes developer information for Project Server 2010, Project Web App, Microsoft Project Professional 2010, and Microsoft Project Standard 2010. The SDK articles are designed to help Project 2010 developers and administrators evaluate Project Server for extensibility and plan for custom solutions.

Note

Project Web App is the name of the web client of Project Server 2010. In Office Project Server 2007 and previous versions, the web client is called Project Web Access.

We would like to hear from you. If you have any comments, or bug reports about any article in the Project 2010 SDK, please use the link at the bottom of each page in the PJ14SDK.chm file in the SDK download to send an e-mail message to the SDK team. You can also post comments on each page in the MSDN online library.

Download

To get the Project 2010 SDK download, see Project 2010 Reference: Software Development Kit. The download includes the July 2011 update of the Project 2010 SDK.

The Project 2010 SDK download installs by default in [Program Files (x86)]\Microsoft SDKs\Project 2010. To avoid code access security issues and enable direct use of Visual Studio projects in the Samples\Samples.exe self-extracting file, you can copy the samples to another directory or install the Project 2010 SDK in a different directory such as C:\Project_SDK. The installed SDK download includes the following components:

What's New in the Project SDK

The main purpose of the Project 2010 SDK is to provide an overview of programmability features and documentation of the PSI services, and step-by-step examples of key areas for customization of the Project clients (Project Standard 2010, Project Professional 2010, and Project Web App) and Project Server 2010. Some of the documentation is incomplete; more content will be added in later releases.

Important

The underlying technology for network communication is changed to WCF in Project Server 2010, to enable the use of service references (.svc files) and a broad range of improvements. ASMX web service references are also now based on the WCF architecture. Setting a reference to a PSI web service (ASMX file) in Project Server 2010 requires appending the ?wsdl URL option to the path, for example, https://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl.

Development on a Windows Vista or Windows 7 computer is supported by using the front-end Project Server ASMX web services, or by using WCF services through a PSI proxy assembly or proxy file. For more information about developing applications for Project Server, see Prerequisites for ASMX-Based Code Samples and Prerequisites for WCF-Based Code Samples.

Development and deployment of solutions that include workflows, Project Server Web Parts, or customizations of Project Web App, by using Visual Studio 2010, is supported only on a Project Server computer. Project Server does not use a separate client object model for development and deployment from Windows Vista or Windows 7.

For an overview of new programmability features in Project Server 2010, see What's New for Developers in Project 2010. A major new area of Project Server 2010 is using workflows and project detail pages (PDPs) to manage the creation and approval of project proposals based on enterprise project templates. For more information, see Workflow and Demand Management. For a series of how-to articles on workflows and Web Parts, see Developing Project Server Workflows and Walkthrough: Creating a Project Server Web Part with a JS Grid.

New topics, and topics that have significant updates since the May 2010 release of the Project 2010 SDK, include the following:

Note

Except for the two Project 2010 SDK topics that have JS Grid control sample applications, most documentation of the JS Grid control is in the Microsoft SharePoint 2010 Software Development Kit (SDK). The SharePoint 2010 SDK includes an overview of JS Grid control features, how to create a basic grid and a pivoted grid, and JS Grid control implementation tips. For more information, see JS Grid Control. For the managed code reference, see Microsoft.SharePoint.JSGrid Namespace.

Some of the DataSet topics in the PSI services, and topics in the Microsoft.Office.Project namespaces, have only minimal documentation. For an explanation of how to find documentation relevant to developers, see Using the PSI Reference in the PSI Reference Overview.

Future SDK Releases

We will periodically publish new articles in the Technical Articles section for Project 2010, and in the Project Programmability Blog. The next major SDK release will be for the next major version of Microsoft Project.

Sections in the Project SDK

There are two top-level sections in the Project 2010 SDK:

The General Reference section includes the following:

  • What's New for Developers describes the major new programmability features in Project 2010.

  • Project Overview for Developers includes articles about Project Server architecture, an introduction to workflow and demand management, information about custom fields, scenarios for Project Server development, and articles about Project client programming by using VBA and Office development tools in Visual Studio 2010.

  • PSI Overview includes an introduction to the ASMX interface and the WCF interface for the PSI, and how-to articles for developing PSI extensions. It also includes an article that shows how to create a proxy assembly for programming the PSI with WCF. The Project 2010 SDK download includes the proxy assembly and source for the release version.

  • Project Server 2010 Programming Tasks includes how-to articles for developing and deploying Project Server workflows, developing with WCF, creating an impersonation application, customizing the Project Web App ribbon, using data and events in the JS Grid control, developing Project Server Web Parts, developing event handlers, and using the queue system. This section also includes an overview of the ProjTool test application.

  • Project Programming References includes an introduction to the PSI reference for Project Server 2010, procedures for developing ASMX-based and WCF-based code samples, tables of Project Server error codes, XML schemas for Project 2010, and tables of VBA object model changes.

Note

Following are requirements to develop and deploy applications that integrate with Project Server 2010:

  • You must install the Microsoft .NET Framework 3.5 SP1 on the development computer, on the Project Server computer, and on the deployment computers. To determine whether the SP1 release is installed, open Programs and Features in the Windows Control Panel.

  • Although it is possible to use Microsoft Visual Studio 2008 for solutions that use Windows Workflow Foundation (WF), it is not supported and is no longer documented. We strongly recommend that you use Visual Studio 2010 to develop and deploy workflow solutions.

  • Visual Studio 2010 installs and uses the .NET Framework 4.0 by default for new development projects. Solutions for SharePoint Foundation 2010, SharePoint Server 2010, Project Server 2010, and add-ins for Project 2010 require the .NET Framework 3.5 SP1. You can install the .NET Framework 3.5 and .NET Framework 4.0 on the same computer. When you create a Visual Studio project, select .NET Framework 3.5 in the drop-down list of the New Project dialog box. You can also select the Target Framework on the Application tab of the project Properties window.

See Also

Concepts

What's New for Developers in Project 2010

PSI Reference Overview

Prerequisites for ASMX-Based Code Samples

Prerequisites for WCF-Based Code Samples

Using the ProjTool Test Application in Project Server 2010

Microsoft Project 2010 SDK Copyright Notice

Other Resources

Getting Started with Development for Project 2010

Project Server 2010 Programming Tasks

Project Developer Center

Project 2010 Reference: Software Development Kit

Document Conventions

Accessibility in Microsoft Office 2010

Microsoft Online Privacy Notice