Aspose.Tasks.Cpp
20.10.0
Prefix Reserved
See the version list below for details.
dotnet add package Aspose.Tasks.Cpp --version 20.10.0
NuGet\Install-Package Aspose.Tasks.Cpp -Version 20.10.0
<PackageReference Include="Aspose.Tasks.Cpp" Version="20.10.0" />
<PackageVersion Include="Aspose.Tasks.Cpp" Version="20.10.0" />
<PackageReference Include="Aspose.Tasks.Cpp" />
paket add Aspose.Tasks.Cpp --version 20.10.0
#r "nuget: Aspose.Tasks.Cpp, 20.10.0"
#:package Aspose.Tasks.Cpp@20.10.0
#addin nuget:?package=Aspose.Tasks.Cpp&version=20.10.0
#tool nuget:?package=Aspose.Tasks.Cpp&version=20.10.0
C++ API to Process Project Files
A standalone C++ library that enables the C++ developers to generate, update, render, & convert project files from within C++ projects without Microsoft Project®.
Project File Processing Features
- Create an empty project file and save it as XML, to stream or to Microsoft MPP file.
- Supports the encoding of the
MPXfiles. - Read and write default properties of projects to speed up the project setup.
- Set the project calculation mode to be manual, automatic, or none.
- Read and write project calendar properties, such as fiscal year and weekday properties.
- Read and write project currency properties.
- Perform project rescheduling from start, finish date, or reschedule only the incomplete tasks.
- Offers various project utility features, such as, calculate the critical path, read filter data, extract embedded objects, etc.
- Use Task, Resource, and Project fields as a formula in expressions.
- Identify Cross Project Tasks, get predecessor tasks and cross project predecessor tasks.
- Supports working with task links, baselines, project resources, and VBA.
- Convert project data to other supported file formats.
New Features & Enhancements 
- Added the support for reading \ writing of cost time-phased data for resource assignments.
- Added
Aspose.Tasks.Project.Save(System.String)that saves the project data to the file in theMPPformat.
Please visit Aspose.Tasks for C++ 20.10 Release Notes for the detailed notes.
Breaking change in Project Server credential usage
In Aspose.Tasks for .NET 20.7 the requirements to a site URL for Project Server credentials have been changed.
Users now should specify the full URL of PWA endpoint when using ProjectServerCredentials:
Before Aspose.Tasks for .NET 20.7:
var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local", windowsCredentials);
Since Aspose.Tasks for .NET 20.7:
var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local/sites/pwa", windowsCredentials);
Read & Write Project Files
Microsoft Project®: MPP, MPT, MPX, XML
Save Project Data As
Primavera: P6 XML, PM XER Microsoft Excel®: XLSX Fixed Layout: PDF Images: JPEG, PNG, TIF, SVG Text: TXT Others: HTML
Getting Started with Aspose.Tasks for C++
Are you ready to give Aspose.Tasks for C++ a try? Simply execute Install-Package Aspose.Tasks.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Tasks for C++ and want to upgrade the version, please execute Update-Package Aspose.Tasks.Cpp to get the latest version.
Convert Microsoft Project MPP Data to HTML
Try executing the below code to see how Aspose.Tasks for C++ performs in your environment. You may also check the GitHub Repository for other common usage scenarios.
System::SharedPtr<Project> project = System::MakeObject<Project>(u"template.mpp");
System::SharedPtr<HtmlSaveOptions> option = System::MakeObject<HtmlSaveOptions>();
project->Save(u"output.html", option);
Create Project from Scratch using C++
Following code sample shows how to create a project file using C++ and then create a task and a sub-task within that project:
// Create a project instance
System::SharedPtr<Project> project = System::MakeObject<Project>();
// Add task, sub task and save project
System::SharedPtr<Task> task = project->get_RootTask()->get_Children()->Add(u"Summary1");
System::SharedPtr<Task> subtask = task->get_Children()->Add(u"Subtask1");
project->Save(u"output.xml", Aspose::Tasks::Saving::SaveFileFormat::XML);
Limitations
- No support for printing of any kind.
- No support for Project Online (PWA).
- No support for the database I/O access of any kind.
- No support for EMF/WMF format, neither itself nor as Project file inclusions.
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
-
- CodePorting.Native.Cs2Cpp.API (>= 20.10.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aspose.Tasks.Cpp:
| Package | Downloads |
|---|---|
|
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 25.11.0 | 117 | 11/29/2025 |
| 25.9.0 | 598 | 9/28/2025 |
| 25.8.0 | 330 | 8/21/2025 |
| 25.7.0 | 456 | 7/26/2025 |
| 25.6.0 | 334 | 6/30/2025 |
| 25.5.0 | 348 | 5/25/2025 |
| 25.4.0 | 461 | 4/29/2025 |
| 25.3.0 | 496 | 3/30/2025 |
| 25.2.0 | 692 | 2/28/2025 |
| 25.1.0 | 753 | 1/31/2025 |
| 24.12.0 | 991 | 12/27/2024 |
| 24.11.0 | 977 | 11/29/2024 |
| 24.10.0 | 1,047 | 10/31/2024 |
| 24.9.0 | 1,074 | 9/30/2024 |
| 24.8.0 | 1,514 | 8/30/2024 |
| 24.7.0 | 1,450 | 7/31/2024 |
| 24.6.0 | 1,970 | 6/28/2024 |
| 24.5.0 | 469 | 5/31/2024 |
| 24.4.0 | 3,870 | 4/17/2024 |
| 24.3.0 | 2,910 | 3/30/2024 |
| 24.2.0 | 3,121 | 2/29/2024 |
| 24.1.0 | 3,111 | 1/29/2024 |
| 23.12.0 | 3,466 | 12/30/2023 |
| 23.11.0 | 3,754 | 11/29/2023 |
| 23.10.0 | 4,090 | 10/19/2023 |
| 23.9.0 | 4,061 | 9/27/2023 |
| 23.8.0 | 4,603 | 8/30/2023 |
| 23.7.0 | 4,508 | 7/26/2023 |
| 23.6.0 | 4,790 | 6/23/2023 |
| 23.5.0 | 3,762 | 5/26/2023 |
| 23.4.0 | 4,643 | 4/19/2023 |
| 23.3.0 | 4,967 | 3/28/2023 |
| 23.2.0 | 5,593 | 2/22/2023 |
| 23.1.0 | 5,247 | 1/27/2023 |
| 22.12.0 | 5,494 | 12/26/2022 |
| 22.11.0 | 5,853 | 11/25/2022 |
| 22.10.0 | 6,203 | 10/23/2022 |
| 22.9.0 | 6,010 | 9/23/2022 |
| 22.8.0 | 1,341 | 9/2/2022 |
| 22.7.0 | 11,444 | 7/21/2022 |
| 22.6.0 | 1,453 | 7/1/2022 |
| 22.5.0 | 7,247 | 6/2/2022 |
| 22.4.0 | 10,686 | 4/27/2022 |
| 22.3.0 | 1,502 | 3/31/2022 |
| 22.2.0 | 12,244 | 2/28/2022 |
| 22.1.0 | 1,732 | 1/31/2022 |
| 21.12.0 | 5,999 | 12/30/2021 |
| 21.11.0 | 6,286 | 11/30/2021 |
| 21.10.0 | 6,832 | 11/4/2021 |
| 21.9.0 | 8,281 | 9/30/2021 |
| 21.8.0 | 11,103 | 8/31/2021 |
| 21.7.0 | 6,121 | 7/30/2021 |
| 21.6.0 | 6,661 | 6/29/2021 |
| 21.5.0 | 1,059 | 5/27/2021 |
| 21.4.0 | 9,768 | 4/26/2021 |
| 21.3.0 | 5,928 | 3/23/2021 |
| 21.2.0 | 989 | 2/27/2021 |
| 21.1.0 | 7,306 | 1/30/2021 |
| 20.12.0 | 6,765 | 12/29/2020 |
| 20.11.0 | 6,748 | 12/1/2020 |
| 20.10.0 | 5,284 | 10/29/2020 |
| 20.9.0 | 6,938 | 9/19/2020 |
| 20.7.0 | 9,193 | 7/24/2020 |
| 20.6.0 | 7,033 | 6/30/2020 |
| 20.5.0 | 7,364 | 5/23/2020 |
| 20.4.0 | 4,095 | 4/27/2020 |
| 20.3.0 | 6,291 | 3/26/2020 |
| 20.2.0 | 2,565 | 2/29/2020 |
| 20.1.0 | 5,237 | 1/24/2020 |
| 19.12.0 | 954 | 12/19/2019 |
| 19.9.0 | 1,301 | 10/21/2019 |