Aspose.Tasks.Cpp
20.7.0
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"
#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
MPX
files. - 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
/WMF
format 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.6.0 | 176 | 6/30/2025 |
25.5.0 | 221 | 5/25/2025 |
25.4.0 | 313 | 4/29/2025 |
25.3.0 | 360 | 3/30/2025 |
25.2.0 | 555 | 2/28/2025 |
25.1.0 | 616 | 1/31/2025 |
24.12.0 | 859 | 12/27/2024 |
24.11.0 | 851 | 11/29/2024 |
24.10.0 | 941 | 10/31/2024 |
24.9.0 | 938 | 9/30/2024 |
24.8.0 | 1,365 | 8/30/2024 |
24.7.0 | 1,335 | 7/31/2024 |
24.6.0 | 1,799 | 6/28/2024 |
24.5.0 | 381 | 5/31/2024 |
24.4.0 | 3,699 | 4/17/2024 |
24.3.0 | 2,764 | 3/30/2024 |
24.2.0 | 3,005 | 2/29/2024 |
24.1.0 | 2,986 | 1/29/2024 |
23.12.0 | 3,351 | 12/30/2023 |
23.11.0 | 3,650 | 11/29/2023 |
23.10.0 | 4,000 | 10/19/2023 |
23.9.0 | 3,974 | 9/27/2023 |
23.8.0 | 4,497 | 8/30/2023 |
23.7.0 | 4,418 | 7/26/2023 |
23.6.0 | 4,667 | 6/23/2023 |
23.5.0 | 3,626 | 5/26/2023 |
23.4.0 | 4,531 | 4/19/2023 |
23.3.0 | 4,813 | 3/28/2023 |
23.2.0 | 5,417 | 2/22/2023 |
23.1.0 | 5,105 | 1/27/2023 |
22.12.0 | 5,342 | 12/26/2022 |
22.11.0 | 5,741 | 11/25/2022 |
22.10.0 | 6,045 | 10/23/2022 |
22.9.0 | 5,874 | 9/23/2022 |
22.8.0 | 1,199 | 9/2/2022 |
22.7.0 | 11,265 | 7/21/2022 |
22.6.0 | 1,336 | 7/1/2022 |
22.5.0 | 7,114 | 6/2/2022 |
22.4.0 | 10,521 | 4/27/2022 |
22.3.0 | 1,423 | 3/31/2022 |
22.2.0 | 12,048 | 2/28/2022 |
22.1.0 | 1,618 | 1/31/2022 |
21.12.0 | 5,852 | 12/30/2021 |
21.11.0 | 6,138 | 11/30/2021 |
21.10.0 | 6,691 | 11/4/2021 |
21.9.0 | 8,162 | 9/30/2021 |
21.8.0 | 10,944 | 8/31/2021 |
21.7.0 | 6,013 | 7/30/2021 |
21.6.0 | 6,536 | 6/29/2021 |
21.5.0 | 969 | 5/27/2021 |
21.4.0 | 9,631 | 4/26/2021 |
21.3.0 | 5,793 | 3/23/2021 |
21.2.0 | 884 | 2/27/2021 |
21.1.0 | 7,154 | 1/30/2021 |
20.12.0 | 6,629 | 12/29/2020 |
20.11.0 | 6,620 | 12/1/2020 |
20.10.0 | 5,146 | 10/29/2020 |
20.9.0 | 6,758 | 9/19/2020 |
20.7.0 | 8,992 | 7/24/2020 |
20.6.0 | 6,834 | 6/30/2020 |
20.5.0 | 7,184 | 5/23/2020 |
20.4.0 | 3,952 | 4/27/2020 |
20.3.0 | 6,102 | 3/26/2020 |
20.2.0 | 2,447 | 2/29/2020 |
20.1.0 | 5,068 | 1/24/2020 |
19.12.0 | 861 | 12/19/2019 |
19.9.0 | 1,175 | 10/21/2019 |