Aspose.Tasks
22.12.0
See the version list below for details.
dotnet add package Aspose.Tasks --version 22.12.0
NuGet\Install-Package Aspose.Tasks -Version 22.12.0
<PackageReference Include="Aspose.Tasks" Version="22.12.0" />
paket add Aspose.Tasks --version 22.12.0
#r "nuget: Aspose.Tasks, 22.12.0"
// Install Aspose.Tasks as a Cake Addin #addin nuget:?package=Aspose.Tasks&version=22.12.0 // Install Aspose.Tasks as a Cake Tool #tool nuget:?package=Aspose.Tasks&version=22.12.0
Microsoft® Project Task Link Creation via .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.Tasks for .NET is a C# library that assists developers in generating, editing, rendering & converting the 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 the project calendar and weekdays.
- Task baseline scheduling and duration.
- Work with task constraints.
- Apply links among tasks.
- Create task milestones, 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).
What's new in v22.12.0
Enhanced Creation of External Task Links
This API release offers enhancements to the link creation between cross-project tasks for MS Project®:
The following example demonstrates how to create a cross-project task link:
Project project = new Project();
var summary = project.RootTask.Children.Add("Summary Task");
Task t2 = t2 = summary.Children.Add("External Task");
t2.Set(Tsk.ExternalTaskProject, "ExternalProject.mpp");
t2.Set(Tsk.ExternalId, 1);
t2.Set(Tsk.ExternalUid, 2); // External task's Unique Id should be set.
t2.Set(Tsk.IsExternalTask, true);
t2.Set(Tsk.IsManual, new NullableBool(false));
t2.Set(Tsk.IsSummary, false);
Task t = summary.Children.Add("Task");
TaskLink link = project.TaskLinks.Add(t2, t);
link.IsCrossProject = true;
link.LinkType = TaskLinkType.FinishToStart;
link.CrossProjectName = "ExternalProject.mpp\\\\1"; // <- here external task's Id is used.
New LinkLagTimeSpan
Property
A new property LinkLagTimeSpan
property has been added to the TaskLink
. This property gets or sets the lag duration, depending on the LagFormat
.
Cost Calculations for Multiple Rates
Enhancements have been made in making cost calculations for the case where multiple rates are effective on a particular day.
For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Tasks for .NET 22.12 Release Notes.
Read & Write Project Formats
Microsoft Project: MPP, MPT, XML
Primavera: MPX, P6XML, XER
Save Projects As
Microsoft Office: XLSX
Fixed Layout: PDF
Images: TIFF, SVG, PNG, JPEG
Web: HTML
Text: TXT
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.
Get Started
Are you ready to give Aspose.Tasks for .NET a try? Simply execute Install-Package Aspose.Tasks
from the 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 the 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 a Sub-task within it
// Create a project instance
Project project = new Project();
// Add task, sub-task and save the project
Task task = project.RootTask.Children.Add("Summary1");
Task subtask = task.Children.Add("Subtask1");
project.Save(dir + "output.xml", SaveFileFormat.XML);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions 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 | net35 is compatible. net40 is compatible. net40-client is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 is compatible. 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. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 4.7.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
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.11.0 | 281 | 11/21/2024 |
24.10.0 | 6,144 | 10/23/2024 |
24.9.0 | 5,197 | 9/26/2024 |
24.8.0 | 7,345 | 8/25/2024 |
24.7.0 | 13,614 | 7/26/2024 |
24.6.0 | 11,048 | 6/27/2024 |
24.5.0 | 11,089 | 5/22/2024 |
24.4.0 | 28,464 | 4/14/2024 |
24.3.0 | 3,072 | 3/20/2024 |
24.2.0 | 23,716 | 2/25/2024 |
24.1.0 | 18,968 | 1/26/2024 |
23.12.0 | 8,908 | 12/17/2023 |
23.11.0 | 14,639 | 11/15/2023 |
23.10.0 | 45,003 | 10/16/2023 |
23.9.0 | 11,879 | 9/21/2023 |
23.8.0 | 10,092 | 8/19/2023 |
23.7.0 | 26,123 | 7/21/2023 |
23.6.0 | 15,871 | 6/19/2023 |
23.5.0 | 11,148 | 5/17/2023 |
23.4.0 | 13,300 | 4/18/2023 |
23.3.0 | 41,586 | 3/13/2023 |
23.2.0 | 18,904 | 2/8/2023 |
23.1.0 | 21,951 | 1/17/2023 |
22.12.0 | 37,120 | 12/12/2022 |
22.11.0 | 12,075 | 11/15/2022 |
22.10.0 | 33,435 | 10/8/2022 |
22.9.0 | 43,261 | 9/8/2022 |
22.8.0 | 33,955 | 8/12/2022 |
22.7.0 | 72,901 | 7/14/2022 |
22.6.0 | 75,848 | 6/14/2022 |
22.5.0 | 16,535 | 5/16/2022 |
22.4.0 | 12,887 | 4/14/2022 |
22.3.0 | 64,796 | 3/15/2022 |
22.2.0 | 21,798 | 2/11/2022 |
22.1.0 | 16,372 | 1/14/2022 |
21.12.0 | 28,362 | 12/16/2021 |
21.11.0 | 10,869 | 11/19/2021 |
21.10.0 | 10,582 | 10/13/2021 |
21.9.0 | 17,790 | 9/17/2021 |
21.8.0 | 11,735 | 8/14/2021 |
21.7.0 | 17,769 | 7/18/2021 |
21.6.0 | 10,965 | 6/15/2021 |
21.5.0 | 26,654 | 5/8/2021 |
21.4.0 | 14,939 | 4/10/2021 |
21.3.0 | 13,944 | 3/4/2021 |
21.2.0 | 8,400 | 2/11/2021 |
21.1.0 | 3,810 | 1/20/2021 |
20.12.0 | 16,930 | 12/10/2020 |
20.11.0 | 29,603 | 11/5/2020 |
20.10.0 | 2,226 | 10/9/2020 |
20.9.1 | 2,018 | 9/22/2020 |
20.9.0 | 1,517 | 9/7/2020 |
20.8.0 | 61,734 | 8/14/2020 |
20.7.2 | 23,998 | 7/24/2020 |
20.7.1 | 2,401 | 7/15/2020 |
20.7.0 | 1,952 | 7/3/2020 |
20.6.0 | 12,305 | 6/5/2020 |
20.5.0 | 17,347 | 5/7/2020 |
20.4.0 | 16,855 | 4/3/2020 |
20.3.0 | 5,354 | 3/10/2020 |
20.2.0 | 4,244 | 2/12/2020 |
20.1.0 | 3,433 | 1/13/2020 |
19.12.0 | 14,685 | 12/4/2019 |
19.11.0 | 7,096 | 11/5/2019 |
19.10.0 | 10,074 | 10/3/2019 |
19.9.0 | 7,671 | 9/13/2019 |
19.8.1 | 1,026 | 9/7/2019 |
19.8.0 | 5,079 | 8/2/2019 |
19.7.0 | 10,127 | 7/13/2019 |
19.6.1 | 3,036 | 6/19/2019 |
19.6.0 | 1,256 | 6/11/2019 |
19.5.0 | 3,230 | 5/21/2019 |
19.4.0 | 5,688 | 4/2/2019 |
19.3.0 | 1,408 | 3/3/2019 |
19.2.0 | 2,095 | 2/1/2019 |
19.1.0 | 49,017 | 1/11/2019 |
18.12.0 | 1,962 | 12/9/2018 |
18.11.0 | 2,604 | 11/1/2018 |
18.10.0 | 1,867 | 10/1/2018 |
18.9.0 | 28,362 | 9/4/2018 |
18.8.0 | 3,432 | 8/1/2018 |
18.7.1 | 1,996 | 7/3/2018 |
18.7.0 | 1,274 | 7/3/2018 |
18.6.0 | 1,891 | 6/5/2018 |
18.5.0 | 3,027 | 5/10/2018 |
18.4.0 | 1,671 | 3/29/2018 |
18.3.0 | 5,997 | 3/13/2018 |
18.2.0 | 2,376 | 2/10/2018 |
17.12.0 | 14,387 | 12/6/2017 |
17.11.0 | 3,834 | 11/1/2017 |
17.9.0 | 2,808 | 9/30/2017 |
17.8.0 | 3,019 | 8/31/2017 |
17.7.0 | 26,204 | 7/31/2017 |
17.6.0 | 6,944 | 6/29/2017 |
17.5.0 | 1,753 | 5/31/2017 |
17.3.0 | 1,949 | 3/31/2017 |
17.1.0 | 2,438 | 1/31/2017 |
16.11.0 | 1,946 | 11/17/2016 |
9.6.0 | 2,725 | 9/19/2016 |
9.5.0 | 28,002 | 8/1/2016 |
9.4.1 | 1,706 | 6/12/2016 |
9.4.0 | 1,602 | 5/25/2016 |
9.3.0 | 1,950 | 3/17/2016 |
9.2.1 | 2,739 | 1/29/2016 |
9.1.0 | 3,437 | 12/30/2015 |
9.0.1 | 2,374 | 11/30/2015 |
8.9.0 | 8,795 | 11/6/2015 |
8.8.1 | 1,801 | 10/5/2015 |
8.7.0 | 36,618 | 8/28/2015 |