How to Merge MPP to ORACLE PRIMAVERA Using C#

In order to Merge MPP to ORACLE PRIMAVERA, we’ll use

Aspose.Tasks for .NET

API which is a feature-rich, powerful and easy to use document manipulation and merging API for C# platform. Open

NuGet

package manager, search for Aspose.Tasks and install. You may also use the following command from the Package Manager Console. Please note that you need to decide what exactly entities from MS Project file you need to merge in source file.

Package Manager Console Command


PM> Install-Package Aspose.Tasks

Steps to Merge MPP to ORACLE PRIMAVERA via C#

Developers can easily load & merge MPP files to ORACLE PRIMAVERA in just a few lines of code.

  1. Load first file as project with Project class
  2. Decide what entities you what to merge (tasks, assignment, resources, etc)
  3. Load other files as project objects with Project class
  4. Add target entities from other project objects to the first one
  5. Call the Project.Save method with output file path & SaveFileFormat.MPP as parameters

System Requirements

Before running the merging example code, make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with .NET Framework, Mono and COM Interop.
  • Development environment like Microsoft Visual Studio.
  • Aspose.Tasks for .NET DLL referenced in your project.
 

This sample code shows MPP to ORACLE PRIMAVERA C# Merging

 
  • Free App to Merge MPP to ORACLE PRIMAVERA

    Other Supported Merging Formats

    You can also merge MPP into other file formats including few listed below.

    MPP TO MPP (Microsoft Project Data File)
    MPP TO PDF (Portable Document Format)
    MPP TO MS PROJECT (Microsoft Project Data File)