.NET Microsoft Project® Files Processing APIs 

Create, Read, Write, Manipulate and Export Microsoft Project® documents to Primavera, Excel, HTML PDF, XPS, images & XML formats.

  Download Free Trial
Aspose.Tasks for .NET

Aspose.Tasks for .NET


Aspose.Tasks for .NET offers Project management APIs that enable the .NET applications to not only read and manipulate Microsoft Project® documents but also write Microsoft Project® documents in both MPP and XML formats - all without using Microsoft Project®. As with all Aspose file format APIs - Aspose.Tasks for .NET works well with all types of .NET applications including WinForms and Web Form.

Aspose.Tasks API exposes project data to offer complete project planning, definition and tracking capabilities. It allows the users to define a projects' main as well as default properties and calendar information. It can also specify weekdays and exceptions for a project's calendar.

Aspose.Tasks API showcases a project data such as tasks, resources, resource assignments and extended attributes data so that developers can manipulate them. Users can completely plan the project by creating and reading tasks and resources, and assign or remove resources to or from tasks. Users can manipulate task constraints, priorities, critical and effort driven tasks, stop or resume a task and split tasks, manage extended attributes, links tasks and write updated task data back to the project.


Advanced Project Management API Features



Create project files from scratch


Define weekdays for the calendar


Define exceptions in calendars


Read password protected MPP files


Manage task baselines, costs & milestones


Handle resource attributes


Define resource assignment & allocation


Render work breakdown structures (WBS) to images


Render project data to HTML


Sort tasks on names


Update Resource data & save back to MPP


Update custom properties of MPP Project files

Export Project Data to Universal Formats

Aspose.Tasks for .NET supports rendering tasks, resources and resource assignment data to fixed-layout formats as well as XML and HTML for universal distribution of information.

Save project data in different formats - C#

// load the file to be converted
var project = new Aspose.Tasks.Project(dir + "template.mpp");
// save in different formats
project.Save(dir + "output.pdf", Aspose.Tasks.Saving.SaveFileFormat.PDF);
project.Save(dir + "output.html", Aspose.Tasks.Saving.SaveFileFormat.HTML);
project.Save(dir + "output.xml", Aspose.Tasks.Saving.SaveFileFormat.XML);

An important feature of Aspose.Tasks for .NET is the ability to render WBS in a project to any of the standard image formats supported by the .NET Framework. In addition, it is also possible to export project data to CSV, TXT, XLS, XLSX and MPT formats.

Handle Tasks in Project

Aspose.Tasks for .NET provides a rich set of classes for handling tasks within a Microsoft Project file. Project plans can range in complexity from a simple flat task list to a large nested group of interdependent tasks. Regardless of the complexity, Aspose.Tasks for .NET is capable of dealing with any scenario.

Tasks Scheduling, Tracking & Budget Assessment

Aspose.Tasks for .NET can calculate a project's critical path and scheduling. It also allows developers to manage task baselines & actual work, access assignment costs & budget, and manage resource costs & variances for project tracking. These are just a few capabilities from a long list of features the API supports.

Render Project Data to Image Formats

Aspose.Tasks for .NET has its own rendering engine specially designed for rendering with highest of fidelity to the Microsoft Project. This allows the developers to render project data to a number of raster & vector image formats while controlling certain aspects of the resultant image.

Render project data to JPEG - C#

// load project file
var project = new Aspose.Tasks.Project(dir + "template.mpp");
// create ImageSaveOptions with desired format
var options = new Aspose.Tasks.Saving.ImageSaveOptions(Aspose.Tasks.Saving.SaveFileFormat.JPEG)
    // set quality
    JpegQuality = 70
// render project data to image format
project.Save(dir + "output.jpg", options);

Capability to Save HTML Elements to Separate Files

Aspose.Tasks for .NET API makes exporting project data to HTML really great experience, as it lets you export the fonts, images and CSS styles to separate files. Furthermore, you can also assign necessary parameters to the callback functions to the export process.

COM Interoperability Support

Aspose.Tasks for .NET exposes its capabilities through a COM interface. This means that you don't need to restrict yourself to use Aspose.Tasks for .NET with just the .NET platform, it can be used in any language you need through its COM interoperability services.

Microsoft Office Automation - Not Needed

Aspose.Tasks for .NET is built using managed code that does not need Microsoft Office or Microsoft Project to be installed on the machine for working with MS Project files. It is a perfect Microsoft Office automation alternative in terms of supported features, security, stability, scalability, speed and price.

What People Are Saying

Don't just take our word for it. See what users have to say about Aspose.Words APIs.

View Case Studies

Support and Learning Resources


Aspose.Tasks offer individual Project APIs for other popular development environments as listed below: