DEV Community


Posted on

Save MS Project files into various formats using C# and Aspose.Tasks for .NET

Aspose.Tasks for .NET is a reliable project management API to process Microsoft Project files. API supports reading, writing and manipulating Microsoft Project documents without any other software dependencies.

Presented below is a shorthand article describing how to convert Microsoft Project files (composed in native Project formats: MPP, MS Project XML) into the non-Microsoft project formats: graphical (PNG, BMP, JPEG, TIFF, SVG, PDF), Primavera(Primavera XML, XER).

Create a new Microsoft Project document and save it to other Microsoft Project file formats

Aspose.Tasks for .NET allows to create a project from scratch and convert it into other Microsoft Project file formats (such as Microsoft Project XML, Microsoft Project MPX):

Convert Microsoft Project files into graphical formats

Aspose.Tasks for .NET can read a project file from native project formats (MPP, MPX, Microsoft Project XML) and save it into any of graphical formats: PNG, BMP, JPEG, TIFF, SVG, PDF. There are two main approaches. The first allows a user to easily save a project into any of the available formats by specifying one of Aspose.Tasks.SaveFileFormat enum members:

Another approach is a usage of special setting classes that allow to tune the saving options.

Convert Microsoft Project files into Primavera formats

Along with saving in graphical formats Aspose.Tasks for .NET supports conversion into Oracle Primavera formats (e.g. Primavera XML, Primavera XER):

Convert Microsoft Project files into other formats

Aspose.Tasks for .NET also supports a conversion of project files to HTML, XLS, XLSX, XAML, TXT formats:

How to try

You can try the above-mentioned features with your projects in our free web Aspose.Tasks Conversion app - it uses the same engine under the hood.
The whole set of examples that shows the features of saving project files into various formats are in our GitHub repository. The latest version of Aspose.Tasks for .NET is always available on the official Aspose website or via NuGet package.

Top comments (0)