Aspose.Tasks.Cpp 20.11.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Tasks.Cpp --version 20.11.0
NuGet\Install-Package Aspose.Tasks.Cpp -Version 20.11.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Tasks.Cpp" Version="20.11.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Tasks.Cpp --version 20.11.0
#r "nuget: Aspose.Tasks.Cpp, 20.11.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Tasks.Cpp as a Cake Addin
#addin nuget:?package=Aspose.Tasks.Cpp&version=20.11.0

// Install Aspose.Tasks.Cpp as a Cake Tool
#tool nuget:?package=Aspose.Tasks.Cpp&version=20.11.0

C++ API to Process Project Files

Version 20.11 Nuget

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

New Features & Enhancements Version 20.11

  • Added the support for the Clear operation for the project’s OleObjects collection.
  • Ability to get a count of consumed bytes \ credits when the Metered license is used.
  • Support to save more than 1 pages to MemoryStream.
  • Implemented the writing of displayed time units for assignment’s Duration extended attributes.
  • Enhanced the reading of dates in the Evaluation mode.
  • Refactored the API for CalendarExceptions.

Please visit Aspose.Tasks for C++ 20.11 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);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
24.3.0 603 3/30/2024
24.2.0 684 2/29/2024
24.1.0 703 1/29/2024
23.12.0 1,195 12/30/2023
23.11.0 1,519 11/29/2023
23.10.0 1,738 10/19/2023
23.9.0 1,832 9/27/2023
23.8.0 2,045 8/30/2023
23.7.0 2,113 7/26/2023
23.6.0 2,346 6/23/2023
23.5.0 1,842 5/26/2023
23.4.0 2,564 4/19/2023
23.3.0 3,112 3/28/2023
23.2.0 3,579 2/22/2023
23.1.0 3,238 1/27/2023
22.12.0 3,710 12/26/2022
22.11.0 4,077 11/25/2022
22.10.0 4,176 10/23/2022
22.9.0 4,083 9/23/2022
22.8.0 931 9/2/2022
22.7.0 8,035 7/21/2022
22.6.0 1,084 7/1/2022
22.5.0 5,216 6/2/2022
22.4.0 7,558 4/27/2022
22.3.0 1,164 3/31/2022
22.2.0 8,719 2/28/2022
22.1.0 1,367 1/31/2022
21.12.0 3,728 12/30/2021
21.11.0 4,116 11/30/2021
21.10.0 4,746 11/4/2021
21.9.0 6,101 9/30/2021
21.8.0 7,352 8/31/2021
21.7.0 3,816 7/30/2021
21.6.0 4,483 6/29/2021
21.5.0 778 5/27/2021
21.4.0 6,144 4/26/2021
21.3.0 3,476 3/23/2021
21.2.0 677 2/27/2021
21.1.0 5,029 1/30/2021
20.12.0 4,707 12/29/2020
20.11.0 4,550 12/1/2020
20.10.0 3,390 10/29/2020
20.9.0 4,013 9/19/2020
20.7.0 5,588 7/24/2020
20.6.0 4,183 6/30/2020
20.5.0 4,719 5/23/2020
20.4.0 2,757 4/27/2020
20.3.0 3,970 3/26/2020
20.2.0 1,786 2/29/2020
20.1.0 3,502 1/24/2020
19.12.0 690 12/19/2019
19.9.0 931 10/21/2019