Aspose.Tasks-Cloud 20.8.0

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

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

Manipulate Project Files via .NET Cloud REST API

Nuget Nuget GitHub

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 the project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the 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 a 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 & Enhancements Nuget

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

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

Read & Write MS Project Formats

MPP, MPX, XER, XML, PrimaveraP6XML

Save MS Project As


Read MS Project Formats


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));

Home | Product Page | Docs | Demos | API Reference | Examples | 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)
Included target framework(s) (in package)
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
24.4.0 97 4/22/2024
22.12.0 351 12/14/2022
22.7.0 412 8/3/2022
21.10.0 404 10/23/2021
21.8.0 318 8/22/2021
21.2.0 499 2/26/2021
20.11.0 1,480 11/4/2020
20.8.0 499 8/11/2020
20.6.0 518 6/26/2020
19.12.0 600 12/13/2019
19.10.0 553 10/31/2019
19.4.0 628 7/17/2019
18.9.0 821 10/22/2018
18.8.2 828 9/11/2018
18.8.0 849 9/11/2018
18.2.0 1,008 3/11/2018
1.0.6 973 9/27/2017
1.0.5 911 9/27/2017
1.0.4 963 8/14/2017
1.0.3 1,033 1/6/2017
1.0.2 1,269 11/2/2016
1.0.1 1,021 10/21/2016
1.0.0 1,564 2/23/2016

* Add an ability to specify the non-default path for Project Server's PWA URL.
     * Add an ability to modify timephasedData collection in assignments.

     The complete list of changes can be found at