Aspose.Tasks 20.3.0

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

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

.NET API to Manipulate Project Files

Aspose.Tasks for .NET is a C# library that assists developers in generating, editing, rendering & conversion of Project files without needing Microsoft Project®.

Aspose.Tasks for .NET on premise API enables you to work with projects, formulas, calendars, calendar exceptions, tasks, task links, task baselines, project resources, resource assignments, currencies, handling exceptions, reporting services, and project risk analysis (Monte Carlo Simulation).

Project File Processing Features

  • Set project schedule type, start date & finish date.
  • Modify project standard rate, overtime rate, task type, fixed cost accrual etc.
  • Manage project extended attributes.
  • Define project calendar and weekdays.
  • Task baseline scheduling and duration.
  • Work with task constraints.
  • Apply links among tasks.
  • Create task milestone, estimated critical or effort driven tasks.
  • Manage resource cost and variance.
  • Assignment cost and budget.
  • Encode MPX files.
  • Comprehensive project reporting (15+ types of reports).

Major features in Version 20.3

  • Create or update an existing project in your Project Online account using ProjectServerManager class.
  • Create, read and update projects in on-premise Project Server (2016 or 2019) using ProjectServerManager class.
  • Ability to add a project in Microsoft Project Server.

Enhancements in Version 20.3

  • Ability to get page count using the provided instance of SaveOptions.
  • Improved the performance of auto recalculation for large sets of tasks.
  • Extended duration 1-10 fields are always displayed in hours regardless of a set format.

For the detailed notes, please visit Aspose.Tasks for .NET 20.3 Release Notes.

Old meta properties API

// custom properties are available through the dictionary of untyped properties
foreach (KeyValuePair<string, object> documentCustomProperty in document.CustomProperties)
{
  Console.WriteLine(documentCustomProperty.Key);
  Console.WriteLine(documentCustomProperty.Value);
}
// built-in properties are available through the Project class
var project = new Project("Project.mpp");
Console.WriteLine(project.Get(Prj.Title));
Console.WriteLine(project.Get(Prj.Author));
// ... etc.

New meta properties API

// custom properties are available through the typed collection
foreach (var property in project.CustomProps)
{
   Console.WriteLine(property.Type);
   Console.WriteLine(property.Name);
   Console.WriteLine(property.Value);
}
 
// built-in properties are available directly
Console.WriteLine(project.BuiltInProps.Author);
Сonsole.WriteLine(project.BuiltInProps.Title);
// ... etc.
 
// or as an item of built-in property collection
foreach (var property in project.BuiltInProps)
{
   Console.WriteLine(property.Name);
   Console.WriteLine(property.Value);
   // ... etc.
}

For the detailed notes, please visit Aspose.Tasks for .NET 20.2 Release Notes.

Read & Write Project Formats

Microsoft Project: MPP, MPT, MPX, XML

Save Projects As

Primavera: P6 XML, PM XER Microsoft Offic: XLSX Fixed Layout: PDF Images: JPEG, PNG, BMP, TIFF, SVG Text: TXT Others: HTML

Platform Independence

You can use Aspose.Tasks for .NET to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms, WPF etc. It is possible to use Aspose.Tasks for .NET via COM Interop from ASP, Perl, PHP and Python. You can also use Aspose.Tasks for .NET to build applications with Mono.

Getting Started with Aspose.Tasks for .NET

Are you ready to give Aspose.Tasks for .NET a try? Simply execute Install-Package Aspose.Tasks from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Tasks for .NET and want to upgrade the version, please execute Update-Package Aspose.Tasks to get the latest version.

Convert Microsoft Project MPP File to Primavera MPX Format

You can execute below code snippet to see how Aspose.Tasks API performs against your own samples or check the GitHub Repository for other common usage scenarios.

Project project = new Project(dir + "template.mpp");

// Save project in desired format
project.Save(dir + "output.xml", SaveFileFormat.MPX);

Use C# to Create a Project file, a Task and Sub-task within it

Aspose.Tasks for .NET a lot of C# public classes to define and manage project tasks. Following code sample shows how to create a project file in C# and then create a task and a sub-task within that project:

// Create project instance
Project project = new Project();

// Add task, sub task and save project
Task task = project.RootTask.Children.Add("Summary1");
Task subtask = task.Children.Add("Subtask1");
project.Save(dir + "output.xml", SaveFileFormat.XML);

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net40-client is compatible.  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. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Aspose.Tasks:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

SenseNet.Preview.Aspose.PreviewImageGenerators

Aspose Preview image generator classes for the sensenet platform.

SenseNet.Preview.Aspose

sensenet Aspose Preview Provider makes it possible to generate and serve preview images using Aspose libraries.

NovaQual.DocumentConversionLib

This contains all the document conversions functionality e.g word to pdf, exce to pdf etc

Chocopiee

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.10.0 4,378 10/23/2024
24.9.0 4,916 9/26/2024
24.8.0 7,233 8/25/2024
24.7.0 12,934 7/26/2024
24.6.0 10,727 6/27/2024
24.5.0 10,809 5/22/2024
24.4.0 28,167 4/14/2024
24.3.0 3,057 3/20/2024
24.2.0 23,633 2/25/2024
24.1.0 18,607 1/26/2024
23.12.0 8,727 12/17/2023
23.11.0 14,314 11/15/2023
23.10.0 42,871 10/16/2023
23.9.0 11,797 9/21/2023
23.8.0 10,036 8/19/2023
23.7.0 25,572 7/21/2023
23.6.0 15,675 6/19/2023
23.5.0 10,982 5/17/2023
23.4.0 13,175 4/18/2023
23.3.0 41,495 3/13/2023
23.2.0 18,836 2/8/2023
23.1.0 21,637 1/17/2023
22.12.0 36,701 12/12/2022
22.11.0 12,010 11/15/2022
22.10.0 33,381 10/8/2022
22.9.0 43,178 9/8/2022
22.8.0 33,755 8/12/2022
22.7.0 72,782 7/14/2022
22.6.0 75,798 6/14/2022
22.5.0 16,487 5/16/2022
22.4.0 12,747 4/14/2022
22.3.0 64,771 3/15/2022
22.2.0 21,395 2/11/2022
22.1.0 16,243 1/14/2022
21.12.0 28,344 12/16/2021
21.11.0 10,823 11/19/2021
21.10.0 10,570 10/13/2021
21.9.0 17,739 9/17/2021
21.8.0 11,671 8/14/2021
21.7.0 17,721 7/18/2021
21.6.0 10,951 6/15/2021
21.5.0 26,596 5/8/2021
21.4.0 14,916 4/10/2021
21.3.0 13,911 3/4/2021
21.2.0 8,374 2/11/2021
21.1.0 3,807 1/20/2021
20.12.0 16,778 12/10/2020
20.11.0 29,502 11/5/2020
20.10.0 2,224 10/9/2020
20.9.1 2,016 9/22/2020
20.9.0 1,508 9/7/2020
20.8.0 61,732 8/14/2020
20.7.2 23,971 7/24/2020
20.7.1 2,399 7/15/2020
20.7.0 1,926 7/3/2020
20.6.0 12,298 6/5/2020
20.5.0 17,344 5/7/2020
20.4.0 16,853 4/3/2020
20.3.0 5,352 3/10/2020
20.2.0 4,205 2/12/2020
20.1.0 3,431 1/13/2020
19.12.0 14,671 12/4/2019
19.11.0 7,089 11/5/2019
19.10.0 10,067 10/3/2019
19.9.0 7,669 9/13/2019
19.8.1 1,024 9/7/2019
19.8.0 5,072 8/2/2019
19.7.0 10,125 7/13/2019
19.6.1 3,034 6/19/2019
19.6.0 1,252 6/11/2019
19.5.0 3,228 5/21/2019
19.4.0 5,686 4/2/2019
19.3.0 1,406 3/3/2019
19.2.0 2,093 2/1/2019
19.1.0 48,952 1/11/2019
18.12.0 1,960 12/9/2018
18.11.0 2,600 11/1/2018
18.10.0 1,865 10/1/2018
18.9.0 28,360 9/4/2018
18.8.0 3,430 8/1/2018
18.7.1 1,986 7/3/2018
18.7.0 1,272 7/3/2018
18.6.0 1,889 6/5/2018
18.5.0 3,025 5/10/2018
18.4.0 1,664 3/29/2018
18.3.0 5,971 3/13/2018
18.2.0 2,368 2/10/2018
17.12.0 14,383 12/6/2017
17.11.0 3,830 11/1/2017
17.9.0 2,799 9/30/2017
17.8.0 3,017 8/31/2017
17.7.0 26,166 7/31/2017
17.6.0 6,942 6/29/2017
17.5.0 1,751 5/31/2017
17.3.0 1,947 3/31/2017
17.1.0 2,436 1/31/2017
16.11.0 1,942 11/17/2016
9.6.0 2,715 9/19/2016
9.5.0 28,000 8/1/2016
9.4.1 1,704 6/12/2016
9.4.0 1,600 5/25/2016
9.3.0 1,948 3/17/2016
9.2.1 2,735 1/29/2016
9.1.0 3,435 12/30/2015
9.0.1 2,372 11/30/2015
8.9.0 8,793 11/6/2015
8.8.1 1,799 10/5/2015
8.7.0 36,496 8/28/2015