Convert to Project Management formats with advanced options

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Conversion MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-conversion -- dnx GroupDocs.Conversion.Mcp --yes
Folders, licensing and more →

GroupDocs.Conversion provides the ProjectManagementConvertOptions class to specify Project Management file format conversion settings.

Supported Project Management Formats

The following project management formats are supported:

FormatExtensionDescriptionApplication
MPP.mppMicrosoft Project binary formatMicrosoft Project
MPT.mptMicrosoft Project templateMicrosoft Project
MPX.mpxMicrosoft Project Exchange (ASCII format)Microsoft Project & Primavera
XER.xerPrimavera P6 formatPrimavera P6

Properties

Format - Specifies the desired project management file format. Available options are: Mpp, Mpt, Mpx, Xer.

Conversion Examples

ProjectManagementConvertOptions supports conversion between project management formats. The following examples demonstrate common conversions.

MPP to MPX

Convert a Microsoft Project binary file (MPP) to MPX (Project Exchange Format):

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "construction-plan.mpp";
string outputFile = "construction-plan.mpx";

using (var converter = new Converter(sourceFile))
{
    var options = new ProjectManagementConvertOptions
    {
        Format = ProjectManagementFileType.Mpx
    };
    converter.Convert(outputFile, options);
}

XER (Primavera) to MPX

Convert a Primavera P6 file (XER) to Microsoft Project Exchange format (MPX):

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "engineering-project.xer";
string outputFile = "engineering-project.mpx";

using (var converter = new Converter(sourceFile))
{
    var options = new ProjectManagementConvertOptions
    {
        Format = ProjectManagementFileType.Mpx
    };
    converter.Convert(outputFile, options);
}

Format Support Notes

Project Management to Project Management conversions are supported for select format combinations:

  • MPP → MPX, XER
  • MPT → MPX, XER
  • MPX → MPP, XER (some restrictions apply)
  • XER → MPX, MPP

Note: To convert FROM Project Management formats to PDF or images, use PdfConvertOptions or ImageConvertOptions.

More Resources