Aspose.Tasks-Cloud 19.12.0

.NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Tasks-Cloud --version 19.12.0
NuGet\Install-Package Aspose.Tasks-Cloud -Version 19.12.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-Cloud" Version="19.12.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Tasks-Cloud --version 19.12.0
#r "nuget: Aspose.Tasks-Cloud, 19.12.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-Cloud as a Cake Addin
#addin nuget:?package=Aspose.Tasks-Cloud&version=19.12.0

// Install Aspose.Tasks-Cloud as a Cake Tool
#tool nuget:?package=Aspose.Tasks-Cloud&version=19.12.0

Manipulate Project Files via .NET Cloud REST API

This task management REST API enhances your C#, ASP.NET & other .NET cloud-based apps to access and manage Microsoft Project & Primavera P6 files in the cloud.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with specified connection string.
  • Get UIDs of all projects contained in the file & fetch required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time scaled data or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild task tree.

New Features in Version 19.12.0

  • Imported projects from Project Online (Server) can now be saved as MPP file.
  • Imported projects from a database can now be saved as MPP file.

For the detailed notes, please visit Aspose.Tasks Cloud 19.12 Release Notes.

Read & Write MS Project Formats

MPP, MPX, XER, XML, PrimaveraP6XML

Save MS Project As


Read MS Project Formats


Platform Independence

Aspose.Tasks Cloud’s platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting Started with Aspose.Tasks Cloud SDK for .NET

You do not need to install anything to get started with Aspose.Tasks Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.

Simply execute Install-Package Aspose.Tasks-Cloud from the Package Manager Console in Visual Studio to fetch & reference Aspose.Tasks assembly in your project. If you already have Aspose.Tasks Cloud SDK for .NET and want to upgrade it, please execute Update-Package Aspose.Tasks-Cloud to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Use C# to Extract a Specific Task from Cloud MPP File

The following C# code sample demonstrates, how to get Microsoft Project MPP file in the cloud and extract a specific task based on its UID:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");

var tasksResponse = await TasksApi.GetTaskAsync(new GetTaskRequest
        TaskUid = 5,
        Name = remoteName,
        Folder = this.DataFolder

Assert.AreEqual((int)HttpStatusCode.OK, tasksResponse.Code);
Assert.AreEqual(5, tasksResponse.Task.Uid);
CollectionAssert.AreEquivalent(new[] { 1, 2, 3, 4 }, tasksResponse.Task.SubtasksUids);
Assert.AreEqual(new DateTime(2015, 8, 3, 8, 0, 0), tasksResponse.Task.Start);
Assert.AreEqual(new DateTime(2015, 8, 6, 17, 0, 0), tasksResponse.Task.Finish);
Assert.AreEqual(new TimeSpan(1, 8, 0, 0, 0), tasksResponse.Task.RemainingWork);
Assert.AreEqual(1920, tasksResponse.Task.WorkVariance);

Generate Project Risk Analysis Report via C# Code

The following code sample elaborates, how to fetch a cloud-based Microsoft Project MPP file and generate a Risk Analysis Report in the PDF format using C# code:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");
var response = await TasksApi.GetRiskAnalysisReportAsync(new GetRiskAnalysisReportRequest()
        DistributionType = ProbabilityDistributionType.Normal,
        ConfidenceLevel = ConfidenceLevel.CL85,
        Optimistic = 80,
        Pessimistic = 130,
        Iterations = 200,
        TaskUid = 1,
        Name = remoteName,
        Folder = this.DataFolder
Assert.IsTrue(response.Length > 0);
var buffer = new byte[4];
response.Read(buffer, 0, 4);
Assert.AreEqual("%PDF", Encoding.ASCII.GetString(buffer));

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.12.0 228 12/14/2022
22.7.0 346 8/3/2022
21.10.0 349 10/23/2021
21.8.0 261 8/22/2021
21.2.0 421 2/26/2021
20.11.0 1,215 11/4/2020
20.8.0 440 8/11/2020
20.6.0 444 6/26/2020
19.12.0 529 12/13/2019
19.10.0 511 10/31/2019
19.4.0 569 7/17/2019
18.9.0 739 10/22/2018
18.8.2 746 9/11/2018
18.8.0 777 9/11/2018
18.2.0 939 3/11/2018
1.0.6 868 9/27/2017
1.0.5 843 9/27/2017
1.0.4 885 8/14/2017
1.0.3 984 1/6/2017
1.0.2 1,198 11/2/2016
1.0.1 940 10/21/2016
1.0.0 1,467 2/23/2016

All imported projects from MS Project Online (Project Server) or database now can be saved as MPP file.
The complete list of changes can be found at