XER to MPP in C#

XER files are used to store data pertaining to project management and project planning. Likewise, the MPP file format can also store such project management information. Sometimes, you may need to convert an XER file to MPP format. Following such use cases, this article covers how to convert an XER file to MPP format programmatically in C#.

XER to MPP Converter – C# API Installation

Aspose.Tasks for .NET can be used to work with different project management file formats. You can configure it by accessing the reference DLL file from the Downloads page, or running the NuGet installation command below:

PM> Install-Package Aspose.Tasks

Convert XER to MPP in C#

You can convert an XER file to MPP format with the following steps:

  1. Load the source XER file using the Project class.
  2. Save the output MPP file.

The code snippet below demonstrates how to convert XER to MPP file format programmatically in C#:

Convert XER to MPP with Advanced Options in C#

This section elaborates on XER to MPP file conversion with advanced options where you can specify different properties for the expected output MPP file. You need to follow the steps below to perform the conversion programmatically in C#:

  1. Access the source XER file.
  2. Create an instance of the MPPSaveOptions class.
  3. Export the output MPP file.

The following code sample elaborates how to convert an XER file to MPP format programmatically in C#:

Get a Free API License

You may request a Free Evaluation License to evaluate the API without any limitations or watermarks.

Conclusion

In this article, you have explored how to convert an XER file to MPP format programmatically in C#. It covers a basic conversion scenario as well as advanced conversion details where different conversion properties can be set. However, you can further explore the API by taking a look at the documentation section. In case of any queries, please feel free to reach out to us at the forum.

See Also