C# .NET API for Managing and Processing Microsoft Project Files

Seamlessly create, edit, export, and process your Microsoft Project file formats such as MPP, MPT, MPX, and XML within the C# .NET project management apps. Convert MS Project documents to PDF, Excel, Primavera, HTML, TXT, PNG, JPEG, and SVG formats using the .NET Project files processing API.

Download Free TrialView All APIs

The leading project management API for processing MS Project files in .NET

Aspose.Tasks for .NET is a robust API to process different Microsoft Project file formats. It enables .NET developers to programmatically read, modify, convert, and export project files to multiple formats. Using this .NET API for Microsoft Project files, you can smartly manipulate your project management data and handle various resources. Aspose.Tasks for .NET is a complete project resource management solution and allows working with password-protected project documents, sorting and unlocking Microsoft Project files, resource planning and tracking, manipulating tasks, and managing costs and milestones.

You can also add custom Gantt Charts while exporting and printing the project files with the help of the C# .NET project management API that supports accurately converting your project files to PDF, Primavera, Excel spreadsheets, Text, HTML, JPEG, BMP, and PNG raster images and SVG vectors.

Getting Started

Please refer to the following information for setting up Aspose.Tasks for .NET library. Please check the System Requirements page for a list of prerequisites before installing the .NET project management API.

Aspose.Tasks for .NET Installation

To download the DLLs or the MSI installer directly, please visit the downloads section. You can also install the .NET API for processing Microsoft Project files using the NuGet package. The package manager console command for API setup is shared below:

PM > Install-Package Aspose.Tasks

How to effortlessly convert MPP project files to PDF and raster image file formats

Aspose.Tasks for .NET library allows quick and easy processing of project management files and lets you convert the project files to well-known document and image file formats such as PDF, Primavera, Excel, Text, HTML, PNG, SVG, JPEG, and BMP.

Convert MPP to PDF in .NET

Proficiently convert project files to PDF format in your .NET file conversion apps. Aspose.Tasks for .NET library enables converting the MPP files to PDF using only a few lines of .NET coding. Please check the below-given instructions and the sample code to convert MPP documents to PDF file format with the .NET API for processing Microsoft Project files:

  • Load the MPP file to be converted using the Project class.
  • Add changes to the MPP file (optional).
  • Convert the MPP file to PDF format and export it using the Save method.
// Load the input Project file (MPP)
Project project = new Project("project.mpp");
// Export the output PDF file
project.Save("ExportAsPDF.pdf", SaveFileFormat.PDF);

Convert Project Files to Images

Converting your project data to PNG or JPEG images is easy using Aspose.Tasks for .NET API. It requires minimum coding and enables exporting data to image formats, allowing for convenient storage and access across multiple devices. The following information and code snippet will help you in converting Microsoft Project data to JPEG images using the .NET project management API:

  • Load the project MPP file using the Project class.
  • Create an instance of the ImageSaveOptions class using SaveFileFormat.JPEG enumeration.
  • Specify the JPEG image quality using the JpegQuality property. The allowed value range is from 0 to 100.
  • Convert and save the JPEG image using the Save method.
// Load the MPP file
Project project = new Project("SourceDirectory\\Tests\\test_project.mpp");
// Create an instance of the ImageSaveOptions class
ImageSaveOptions options = new ImageSaveOptions(SaveFileFormat.JPEG) { JpegQuality = 50 };
// Export the JPEG image
project.Save("OutputDirectory\\project_image.jpeg", (SaveOptions)options);

Please visit the GitHub examples page of Aspose.Tasks for .NET API to view more code samples and working examples. You can view, convert, and manipulate Microsoft Project files using your desktop or mobile devices using the free online project management data processing apps.

Merge Microsoft Project files in C# .NET file merger apps

Aspose.Tasks for .NET enables merging different files in an easy manner. Programmatically combining MPP, MPX, MPT, and JIRA files with PDF, Primavera, and other file formats is supported by the .NET project management API. Furthermore, you do not require installing Microsoft Project or Microsoft Office for manipulating project files within the C# .NET document processing apps.


1. How can I convert project files in .NET?

Converting Microsoft Project files in .NET is quick and easy using Aspose.Tasks for .NET API. Only a few lines of .NET coding are needed to convert MPP, MPX, MPT, XML, and other project files to different document and image file formats.

2. How long it takes to convert or merge project management files?

The .NET API for managing and processing Microsoft Project files works fast and completes your merge or convert file requests in no time.

3. Is it safe to process project management data using the .NET API?

You can be sure of the security of your project data files while processing them using Aspose.Tasks for .NET API. We ensure the privacy of your data and take all required measures to provide you with a secure user experience.

4. Can I process project files on Mac OS, Windows, or Linux?

Yes, the project files processing API for .NET works across different OS, frameworks, and operating environments. You can use it on the platform of your choice and it does not require any additional software installation to function.

Looking for help?

Checkout our support channels for help with your questions related to Aspose product API features and working.

Ready to get started?

Download Free Trial View All APIs