Convert MPP to MPX using C#

In this blog post, we will learn how to convert MPP to MPX in C#. Microsoft Project uses the MPP format to store tasks, resources, assignments, timelines, budgets, as well as other project-related information. On the other hand, MPX is an older file format for Microsoft Project. It allows exchanging project information between Microsoft Project and other software applications supporting the MPX format. Learn about exporting MS Project data to MPX format.

The following topics shall be covered in this article:

  1. C# API to Convert MPP to MPX
  2. Convert MPP to MPX
  3. Aspose.Tasks Library – Get a Free License
  4. Convert MPP to MPX Online Free
  5. MPP to MPX Converter – Learning Resources

C# API to Convert MPP to MPX

For converting MPP to MPX, we will be using the Aspose.Tasks for .NET API. It allows developers to create, read, manipulate, and export Microsoft Project documents in their .NET applications. It provides a set of classes and methods that enable developers to interact with project data in various ways. This includes creating new projects, adding tasks and resources, updating project schedules, converting, and generating reports. The library also provides a rich set of features including support for task scheduling, resource allocation, task dependencies, cost management, and more.

Please either download the DLL of the API or install it using NuGet.

PM> Install-Package Aspose.Tasks

Convert MPP to MPX using C#

We can easily convert MPP files into MPX format by following the steps given below:

  • Load the MPP file using the Project class.
  • Save as MPX using the Save() method. It takes the output MPX file path and the SaveFileFormat as arguments.

The following sample code shows how to convert MPP to MPX in C#.

Aspose.Tasks Library – Get Free Temporary License

We offer a free evaluation version that can be used to test the features and capabilities of the library. Please get a free temporary license to try Aspose.Tasks for .NET without evaluation limitations.

Convert MPP to MPX Online Free

In addition, you can convert your MPP files into MPX format online for free by using our free MPP to MPX converter web app. This web app was developed using API.

https://products.aspose.app/tasks/conversion/mpp-to-mpx

MPP to MPX Converter – Learning Resources

You can learn more about generating converting and manipulating MPP files without using Microsoft Project and explore other features of the library using the resources given below:

Conclusion

In this article, we have learned how to convert MS Project data from MPP format to MPX format programmatically in C#. The MPX format allows project information to be exchanged between MS Project and other applications that support it. We have also seen how to convert MPP to MPX online. In case of any ambiguity, please feel free to contact us on our free support forum.

See Also