Aspose.Tasks.Cpp
20.7.0
Prefix Reserved
See the version list below for details.
dotnet add package Aspose.Tasks.Cpp --version 20.7.0
NuGet\Install-Package Aspose.Tasks.Cpp -Version 20.7.0
<PackageReference Include="Aspose.Tasks.Cpp" Version="20.7.0" />
<PackageVersion Include="Aspose.Tasks.Cpp" Version="20.7.0" />
<PackageReference Include="Aspose.Tasks.Cpp" />
paket add Aspose.Tasks.Cpp --version 20.7.0
#r "nuget: Aspose.Tasks.Cpp, 20.7.0"
#:package Aspose.Tasks.Cpp@20.7.0
#addin nuget:?package=Aspose.Tasks.Cpp&version=20.7.0
#tool nuget:?package=Aspose.Tasks.Cpp&version=20.7.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 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 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 in Version 20.7
- Aspose.Tasks for C++ is based on the .NET version of the API and provides strictly the same functionality as Aspose.Tasks for .NET provides, excluding printing, database I/O operations, and
EMF/WMFformat support. - Added the ability to specify the non-default path for Project Server's PWA URL.
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 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.7.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.9.0 | 506 | 9/28/2025 |
| 25.8.0 | 322 | 8/21/2025 |
| 25.7.0 | 440 | 7/26/2025 |
| 25.6.0 | 322 | 6/30/2025 |
| 25.5.0 | 340 | 5/25/2025 |
| 25.4.0 | 453 | 4/29/2025 |
| 25.3.0 | 489 | 3/30/2025 |
| 25.2.0 | 683 | 2/28/2025 |
| 25.1.0 | 745 | 1/31/2025 |
| 24.12.0 | 980 | 12/27/2024 |
| 24.11.0 | 967 | 11/29/2024 |
| 24.10.0 | 1,035 | 10/31/2024 |
| 24.9.0 | 1,066 | 9/30/2024 |
| 24.8.0 | 1,505 | 8/30/2024 |
| 24.7.0 | 1,441 | 7/31/2024 |
| 24.6.0 | 1,962 | 6/28/2024 |
| 24.5.0 | 459 | 5/31/2024 |
| 24.4.0 | 3,861 | 4/17/2024 |
| 24.3.0 | 2,899 | 3/30/2024 |
| 24.2.0 | 3,114 | 2/29/2024 |
| 24.1.0 | 3,103 | 1/29/2024 |
| 23.12.0 | 3,457 | 12/30/2023 |
| 23.11.0 | 3,753 | 11/29/2023 |
| 23.10.0 | 4,087 | 10/19/2023 |
| 23.9.0 | 4,057 | 9/27/2023 |
| 23.8.0 | 4,601 | 8/30/2023 |
| 23.7.0 | 4,503 | 7/26/2023 |
| 23.6.0 | 4,788 | 6/23/2023 |
| 23.5.0 | 3,757 | 5/26/2023 |
| 23.4.0 | 4,637 | 4/19/2023 |
| 23.3.0 | 4,959 | 3/28/2023 |
| 23.2.0 | 5,584 | 2/22/2023 |
| 23.1.0 | 5,235 | 1/27/2023 |
| 22.12.0 | 5,485 | 12/26/2022 |
| 22.11.0 | 5,844 | 11/25/2022 |
| 22.10.0 | 6,193 | 10/23/2022 |
| 22.9.0 | 6,002 | 9/23/2022 |
| 22.8.0 | 1,325 | 9/2/2022 |
| 22.7.0 | 11,434 | 7/21/2022 |
| 22.6.0 | 1,437 | 7/1/2022 |
| 22.5.0 | 7,233 | 6/2/2022 |
| 22.4.0 | 10,676 | 4/27/2022 |
| 22.3.0 | 1,490 | 3/31/2022 |
| 22.2.0 | 12,211 | 2/28/2022 |
| 22.1.0 | 1,716 | 1/31/2022 |
| 21.12.0 | 5,982 | 12/30/2021 |
| 21.11.0 | 6,273 | 11/30/2021 |
| 21.10.0 | 6,821 | 11/4/2021 |
| 21.9.0 | 8,269 | 9/30/2021 |
| 21.8.0 | 11,093 | 8/31/2021 |
| 21.7.0 | 6,109 | 7/30/2021 |
| 21.6.0 | 6,647 | 6/29/2021 |
| 21.5.0 | 1,050 | 5/27/2021 |
| 21.4.0 | 9,755 | 4/26/2021 |
| 21.3.0 | 5,914 | 3/23/2021 |
| 21.2.0 | 972 | 2/27/2021 |
| 21.1.0 | 7,291 | 1/30/2021 |
| 20.12.0 | 6,754 | 12/29/2020 |
| 20.11.0 | 6,736 | 12/1/2020 |
| 20.10.0 | 5,273 | 10/29/2020 |
| 20.9.0 | 6,921 | 9/19/2020 |
| 20.7.0 | 9,183 | 7/24/2020 |
| 20.6.0 | 7,018 | 6/30/2020 |
| 20.5.0 | 7,350 | 5/23/2020 |
| 20.4.0 | 4,083 | 4/27/2020 |
| 20.3.0 | 6,278 | 3/26/2020 |
| 20.2.0 | 2,553 | 2/29/2020 |
| 20.1.0 | 5,222 | 1/24/2020 |
| 19.12.0 | 939 | 12/19/2019 |
| 19.9.0 | 1,285 | 10/21/2019 |