Aspose.Tasks  for .NET

.NET Microsoft Project File Processing APIs

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

  Download Free Trial

Aspose.Tasks for .NET is a reliable project management API to process Microsoft Project files. API supports reading, writing, and manipulating of Microsoft Project documents without any other software dependencies. Moreover, API exposes project data to offer complete planning, definition, and tracking capabilities. The library fully supports various project properties and can be used to manipulate calendars or work schedules.

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

Advanced .NET Microsoft Project API Features

Create MS Project and Oracle Primavera files from scratch

Define weekdays and exceptions for a calendar

Read and write password protected MS Project files

Export project to other formats with highly customizable Gantt Chart

Manage baselines, costs & milestones

Handle tasks, resources and assignments extended attributes and their definitions

Customize resource assignment's work contour

Render work breakdown structures (WBS) to images

Render MS Project and Oracle Primavera files to HTML

Sort tasks by names, dates, durations and by many other fields

Update custom properties of MPP Project files

Open and Save project files from/to MS Project Online or on-premise instance of MS Project Server via PWA

Convert Project Data to Multiple Formats

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

Save project data in different formats - C#

// load the file to be converted

var prj = new Aspose.Tasks.Project(dir + "template.mpp");

// save in different formats

prj.Save(dir + "output.pdf", Aspose.Tasks.Saving.SaveFileFormat.PDF);

prj.Save(dir + "output.html", Aspose.Tasks.Saving.SaveFileFormat.HTML);

prj.Save(dir + "output.xml", Aspose.Tasks.Saving.SaveFileFormat.XML);

An important feature of the library 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.

Convert Project Data to Images

Aspose.Tasks for .NET has its own rendering engine specially designed to replicate MS Project render style. 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 file

var prj = new Aspose.Tasks.Project(dir + "template.mpp");

// create ImageSaveOptions with desired format

var options = new Aspose.Tasks.Saving.ImageSaveOptions(Aspose.Tasks.Saving.SaveFileFormat.JPEG)

CustomPageSize = new SizeF(2200, 1100),
HorizontalResolution = 96f,
VerticalResolution = 96f, JpegQuality = 70 }; // render data to image format prj.Save(dir + "output.jpg", options);

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.

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 offers individual APIs for popular development environments as listed below: