Aspose.Tasks 24.10.0

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

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

.NET API to Manipulate Project Files

Version 24.10.0 NuGet .NET

banner


Product Page Docs API Ref Examples Blog Releases Support License


Aspose.Tasks for .NET is a robust library designed for .NET developers, providing advanced tools for generating, editing, rendering, and converting Microsoft Project files. With this API, developers can work seamlessly with project properties, tasks, resources, assignments, baselines, custom fields, outline codes, and calendars, eliminating the need for Microsoft Project. It supports various project data manipulations, such as creating tasks, linking dependencies, managing resources, defining custom fields, applying calendar settings, handling baselines, and converting project data to different formats like PDF, Excel, CSV, HTML, and images. Aspose.Tasks empowers developers to build comprehensive project management solutions within their .NET applications.

Project Data

Project Properties Management

Enables reading and updating properties of a project to facilitate comprehensive project data managementk Data

Task Creation and Management

Allows the creation, manipulation, and management of tasks within a project structure, supporting project planning and tracking.

Resource Data

Resource Handling

Supports adding, updating, and managing resources, enabling project teams to allocate and monitor resources effectively.

Resource Assignment Data

Assignment Tracking

Manages assignments of resources to tasks, providing insights into workload distribution and resource usage.

Calendar Data

Calendar Creation

Enables creation and customization of calendars to define working days, hours, and exceptions specific to project needs.

Task Baseline Data

Task Configuration

Allows saving and tracking baseline data for tasks, facilitating variance analysis between planned and actual progress.

Resource Baseline Data

Resource Storage

Provides functionality to save baseline data for resources, aiding in budget and performance analysis.

Resource Assignment Baseline Data

Assignine Management

Supports baseline data storage for resource assignments, enabling comparison of planned vs. actual resource utilization.

Custom Field (Extended Attribute) Definition Data

Define and Access Extended Attributes

Create and manage extended attributes (custom fields) within project tasks and resources for data enrichment.

Extended Attribute Types

Define custom fields with specific data types (Text1, Number, etc.) to categorize and sort project data efficiently.

Custom Field Value Data

Assign Custom Field Values

Assign values to defined custom fields, enhancing task and resource information with custom metadata.

Custom Field Value Formats

Work with different formats and types for custom field values to fit diverse project requirements.

Outline Code Definition Data

Define Outline Codes

Create and structure outline codes for hierarchical categorization and organization within project tasks.

Assign Outline Code Levels

Set outline code levels to build structured classifications, aiding in project breakdown and detailed reporting.

Outline Code Value Data

Assign Values to Outline Codes

Input values to established outline codes, supporting detailed task grouping and classification.

Manage Outline Code Relationships

Establish relationships between outline code values for better hierarchical project management.

View Data

Customize Project Views

Configure views to display project data in specific formats, optimizing readability for various stakeholders.

Manage View Properties

Control view properties such as UID, Index, and Name for tailored project data presentation.

Table Data

Define Project Tables

Create tables for organizing and viewing project information in structured formats.

Table Field Customization

Adjust table fields within tables to display essential data points as per project needs.

TableField Data

Set TableField Properties

Define properties for individual table fields, including alignment and formatting for clear data display.

Control Data Display in Tables

Use TableField settings to show or hide specific data columns in project views.

Group Data

Define Project Groups

Group project data based on specific criteria for efficient organization and data analysis.

Grouping and Sorting Options

Set up grouping options for streamlined data categorization and sorting within project views.

GroupCriterion Data

Specify Grouping Criteria

Define criteria for data grouping, making it easier to manage complex projects with large datasets.

Advanced Grouping Options

Enable nested grouping for multi-level project data categorization.

Filter Data

Filter Definition Retrieval

Enables the extraction of filter definitions from MPP files, aiding in task and resource filtering for project data management.

Filter Criteria Access

Allows access to filter criteria details within MPP files, enabling precise data filtration based on project-specific requirements.

FilterCriteria Data

Filter Operations

Provides access to filter operations, supporting read and write for various project versions, enhancing filtering capabilities in project data.

GanttChartView Data

Bar Styles Customization

Supports customization of bar styles in Gantt chart views, allowing tailored visualization of project tasks.

Timescale Adjustment

Allows configuring timescales for Gantt chart views, facilitating detailed project time representation.

Text Styling in Gantt Charts

Enables text styling adjustments in Gantt chart views, supporting enhanced visual differentiation of task details.

Working with Primavera Formats

Import and Export Primavera Data

Supports importing and exporting Primavera file formats, enabling integration with popular project management tools.

Working with Projects

Project Creation

Enables the creation of project files with essential details like project start and end dates, task list, and resources.

Project Properties Access

Provides access to project properties, including title, author, and last saved date, for effective project tracking.

Working with Formulas

Define Custom Formulas

Allows defining custom formulas to automate calculations within the project plan, enhancing productivity.

Apply Formulas on Fields

Enables applying custom formulas on project, task, and resource fields, supporting dynamic data manipulation.

Working with Calendars

Calendar Management

Provides tools for creating and managing calendars associated with specific projects and tasks.

Set Work Weeks

Allows defining custom work weeks in calendars, enabling accurate scheduling and work tracking.

Working with Calendar Exceptions

Define Calendar Exceptions

Supports defining exceptions for holidays or non-working days, improving scheduling accuracy.

Apply Exceptions to Tasks

Enables assigning calendar exceptions to specific tasks, ensuring accurate project timelines.

Working with Tasks

Task Creation and Management

Provides capabilities for creating and managing tasks within a project, supporting complex project structures.

Task Duration Customization

Allows customizing task durations, including support for fixed duration and effort-driven tasks.

Define Task Dependencies

Allows defining dependencies between tasks using task links, improving scheduling accuracy.

Supports setting different types of task links, such as Finish-to-Start, Start-to-Start, enhancing task relationships.

Working with Task Baselines

Task Baseline Creation

Enables creating task baselines to capture the initial project plan, supporting effective progress tracking.

Track Task Variance

Provides variance tracking between baseline and actual values, helping identify project deviations.

Working with Resources

Resource Allocation

Facilitates allocation of resources to tasks, supporting resource planning and utilization.

Resource Rate Definition

Enables setting custom rates for resources, assisting in project cost calculations.

Resource Overallocation Detection

Provides features to detect resource overallocation, aiding in resource management and optimization.

Working with Resource Assignments

Creating Resource Assignments

Supports creating resource assignments by linking resources with specific tasks.

General Resource Assignment Properties

Manage essential properties of resource assignments, such as cost and work allocations.

Managing Assignment Cost

Provides tools to track and manage the costs associated with resource assignments effectively.

Working with Resource Assignment Budgets

Enables budget tracking and assignment for resources, improving project financial control.

Handling Overtime, Remaining Costs, and Work

Offers management of overtime work, remaining cost calculations, and work estimates for assignments.

Calculating Percentages

Supports calculating work completion percentages for resource assignments to track progress.

Dealing with Variances

Provides variance calculation features to compare planned and actual data for assignments.

Stop or Resume an Assignment

Allows pausing or resuming assignments, offering flexibility in project scheduling.

Timephased Data Generation for Different Work Contours

Enables generation of time-phased data for various work contours, supporting detailed scheduling.

Saving Updated Resource Assignment to MPP

Supports saving modifications to resource assignments back into the MPP file format.

Read Write Rate Scale Information

Provides functionality to read and write rate scale information for resource assignments.

Adding Extended Attributes to Resource Assignments

Allows adding custom attributes to resource assignments for enhanced data tracking.

Working with Project Currencies

Managing Project Currency Codes

Supports setting and retrieving currency codes for projects, aligning with financial standards.

Managing Project Currency Digits

Allows setting the number of currency digits used in financial calculations for a project.

Managing Currency Symbols

Provides functionality for defining and managing currency symbols in project files.

Working with Views

Printing MS Project MPP files to Separate Image Files

Enables printing of project views to separate image files, supporting better visualization.

Provides an option to adjust layout and remove gaps between tasks list and footer during export.

Rendering Notes When Converting MS Project MPP file

Supports rendering task notes when converting MPP files to various formats.

Miscellaneous

Sorting Resources by Name

Offers functionality to sort project resources alphabetically by name for better organization.

Handling Exceptions using Aspose.Tasks

Provides robust error-handling mechanisms for managing exceptions within Aspose.Tasks.

Sorting Tasks by Name

Supports sorting project tasks by name, aiding in task organization and quick lookup.

Update Outline Code Definitions and Values

Allows updating outline code definitions and values to maintain structured project data.

Writing Metadata to MPP

Enables writing custom metadata to MPP files, improving project information management.

Working with VBA

Reading VBA Information from MPP Files

Enables reading VBA project details, including modules, references, and attributes directly from an MPP file.

Accessing VBA References

Provides access to VBA references, allowing you to retrieve library identifiers and names.

Extracting Module Details

Allows extraction of information about VBA modules, including names and source codes within a project.

Accessing Module Attributes

Retrieves attributes of VBA modules for in-depth analysis and management of project macros.

Converting MS Project MPP Files

Convert MPP to PDF

Allows conversion of Microsoft Project MPP files to PDF format with customization options, such as specifying views and date formats.

Convert MPP to Excel Formats

Supports conversion of MPP files to Excel formats (XLSX, Spreadsheet2003 XML) for easy data manipulation in Excel.

Convert MPP to CSV

Converts MPP files to CSV format with options to customize encoding, delimiter, and column headers.

Convert MPP to JPEG, PNG, TIFF

Provides the ability to convert MPP files to various image formats like JPEG, PNG, and TIFF with adjustable quality settings.

Convert MPP to SVG

Enables rendering of MPP files into SVG format for scalable, high-quality graphic representation of project data.

Export Jira Tasks to MPP

Facilitates exporting tasks from Jira to an MS Project MPP file format, bridging task management across platforms.




File Formats Supported by Aspose.Tasks for .NET

The following table indicates the input and output file formats supported by Aspose.Tasks for .NET.

Format Description Load Save
MPP Microsoft Project 2003/2007/2010/2013/2016/2019/2021 MPP and Microsoft Project Online formats are supported ✔️ ✔️
XML Microsoft Project XML Format ✔️ ✔️
MPT Microsoft Project Template ✔️ ✔️
XER Primavera XER Format ✔️ ✔️
P6XML Primavera P6XML Format ✔️ ✔️
MPX Primavera MPX ✔️ ✔️
XLSX Saving Project’s data (Tasks, Resources, or Assignments table) as Microsoft Excel spreadsheet ✔️
PDF Saving the specific Project’s view as PDF ✔️
HTML Saving the specific Project’s view as simplified HTM or HTML Formats ✔️
CSV Saving Project’s data (Tasks, Resources, or Assignments table) as comma-separated file ✔️
TXT Saving Project’s data (Tasks, Resources, or Assignments table) as a file with the specified delimiter ✔️
TIFF Saving the specific Project’s view as TIFF image ✔️
PNG Saving the specific Project’s view as PNG image ✔️
JPEG Saving the specific Project’s view as JPEG image ✔️
BMP Saving the specific Project’s view as BMP image ✔️
SVG Saving the specific Project’s view as SVG file ✔️
XPS Saving the specific Project’s view as XPS ✔️

Installation of Aspose.Tasks for .NET

Install Aspose.Tasks for .NET via NuGet

  1. Open Visual Studio and go to NuGet Package Manager.
  2. Search for Aspose.Tasks and click Install to add the API to your project.

Install or Update Aspose.Tasks via Package Manager Console

  1. Open your project in Visual Studio.
  2. Go to Tools -> NuGet Package Manager -> Package Manager Console.
  3. Run the following command:
    Install-Package Aspose.Tasks
    

Code Sample 1: Creating and Saving a New Project

Easily create a new project instance, set basic properties, and save it in MPP format.

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

// Set project start date
project.Set(Prj.StartDate, new DateTime(2023, 1, 1));

// Save the project in MPP format
project.Save("NewProject_out.mpp", SaveFileFormat.MPP);

Code Sample 2: Adding Tasks with Dependencies

Define tasks and link them with dependencies, streamlining project scheduling.

// Initialize a project
Project project = new Project();

// Add tasks
Task task1 = project.RootTask.Children.Add("Task 1");
Task task2 = project.RootTask.Children.Add("Task 2");

// Link tasks with Finish-to-Start dependency
TaskLink link = project.TaskLinks.Add(task1, task2, TaskLinkType.FinishToStart);

// Save the project
project.Save("LinkedTasks_out.mpp", SaveFileFormat.MPP);

Code Sample 3: Defining and Applying Calendar Workdays

Set up a project calendar, specify workdays, and apply it to the project for accurate scheduling.

// Create project and calendar
Project project = new Project();
Calendar calendar = project.Calendars.Add("Custom Calendar");

// Set workdays
calendar.WeekDays.Add(WeekDay.CreateDefaultWorkingDay(DayType.Monday));
calendar.WeekDays.Add(WeekDay.CreateDefaultWorkingDay(DayType.Tuesday));
calendar.WeekDays.Add(WeekDay.CreateDefaultWorkingDay(DayType.Wednesday));

// Assign calendar to project
project.Set(Prj.Calendar, calendar);

// Save the project
project.Save("ProjectWithCalendar_out.mpp", SaveFileFormat.MPP);

Code Sample 4: Exporting Project to PDF

Render the project as a PDF document, including task details, for easy sharing and reporting.

// Load an existing project
Project project = new Project("ExistingProject.mpp");

// Save the project as PDF
project.Save("ProjectReport_out.pdf", SaveFileFormat.PDF);

Product Page Docs API Ref Examples Blog Releases Support License


Project Management API | Microsoft Project File Manipulation | ASP.NET | MPP File Conversion | Project Baseline Tracking | Resource Assignment Management | Gantt Chart Customization | VBA for Projects | Project Task Links | Calendar Exceptions | Custom Fields | Outline Code Definition | Reporting Services | Monte Carlo Simulation | Primavera Integration | PDF Export | CSV Export | SVG Rendering | Custom Formulas | Project Currency Management | Exception Handling | Task Sorting | Metadata to MPP | .NET API

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 was computed.  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. 
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.11.0 1,286 11/21/2024
24.10.0 9,689 10/23/2024
24.9.0 5,803 9/26/2024
24.8.0 7,519 8/25/2024
24.7.0 14,571 7/26/2024
24.6.0 11,803 6/27/2024
24.5.0 11,537 5/22/2024
24.4.0 28,913 4/14/2024
24.3.0 3,098 3/20/2024
24.2.0 23,940 2/25/2024
24.1.0 19,994 1/26/2024
23.12.0 9,342 12/17/2023
23.11.0 15,381 11/15/2023
23.10.0 48,442 10/16/2023
23.9.0 12,069 9/21/2023
23.8.0 10,208 8/19/2023
23.7.0 27,226 7/21/2023
23.6.0 16,322 6/19/2023
23.5.0 11,423 5/17/2023
23.4.0 13,464 4/18/2023
23.3.0 41,674 3/13/2023
23.2.0 19,202 2/8/2023
23.1.0 22,400 1/17/2023
22.12.0 38,005 12/12/2022
22.11.0 12,153 11/15/2022
22.10.0 33,670 10/8/2022
22.9.0 43,391 9/8/2022
22.8.0 34,349 8/12/2022
22.7.0 73,083 7/14/2022
22.6.0 75,979 6/14/2022
22.5.0 16,604 5/16/2022
22.4.0 13,187 4/14/2022
22.3.0 64,844 3/15/2022
22.2.0 22,436 2/11/2022
22.1.0 16,478 1/14/2022
21.12.0 28,393 12/16/2021
21.11.0 10,916 11/19/2021
21.10.0 10,637 10/13/2021
21.9.0 17,879 9/17/2021
21.8.0 11,838 8/14/2021
21.7.0 17,854 7/18/2021
21.6.0 11,001 6/15/2021
21.5.0 26,763 5/8/2021
21.4.0 14,984 4/10/2021
21.3.0 13,985 3/4/2021
21.2.0 8,435 2/11/2021
21.1.0 3,814 1/20/2021
20.12.0 17,095 12/10/2020
20.11.0 29,877 11/5/2020
20.10.0 2,232 10/9/2020
20.9.1 2,025 9/22/2020
20.9.0 1,525 9/7/2020
20.8.0 61,741 8/14/2020
20.7.2 24,074 7/24/2020
20.7.1 2,406 7/15/2020
20.7.0 2,030 7/3/2020
20.6.0 12,310 6/5/2020
20.5.0 17,352 5/7/2020
20.4.0 16,860 4/3/2020
20.3.0 5,360 3/10/2020
20.2.0 4,273 2/12/2020
20.1.0 3,438 1/13/2020
19.12.0 14,712 12/4/2019
19.11.0 7,112 11/5/2019
19.10.0 10,188 10/3/2019
19.9.0 7,676 9/13/2019
19.8.1 1,031 9/7/2019
19.8.0 5,089 8/2/2019
19.7.0 10,132 7/13/2019
19.6.1 3,041 6/19/2019
19.6.0 1,261 6/11/2019
19.5.0 3,234 5/21/2019
19.4.0 5,692 4/2/2019
19.3.0 1,412 3/3/2019
19.2.0 2,099 2/1/2019
19.1.0 49,110 1/11/2019
18.12.0 1,967 12/9/2018
18.11.0 2,606 11/1/2018
18.10.0 1,869 10/1/2018
18.9.0 28,364 9/4/2018
18.8.0 3,434 8/1/2018
18.7.1 1,998 7/3/2018
18.7.0 1,276 7/3/2018
18.6.0 1,893 6/5/2018
18.5.0 3,029 5/10/2018
18.4.0 1,673 3/29/2018
18.3.0 6,072 3/13/2018
18.2.0 2,390 2/10/2018
17.12.0 14,399 12/6/2017
17.11.0 3,847 11/1/2017
17.9.0 2,814 9/30/2017
17.8.0 3,023 8/31/2017
17.7.0 26,339 7/31/2017
17.6.0 6,948 6/29/2017
17.5.0 1,757 5/31/2017
17.3.0 1,953 3/31/2017
17.1.0 2,444 1/31/2017
16.11.0 1,950 11/17/2016
9.6.0 2,747 9/19/2016
9.5.0 28,006 8/1/2016
9.4.1 1,712 6/12/2016
9.4.0 1,608 5/25/2016
9.3.0 1,954 3/17/2016
9.2.1 2,751 1/29/2016
9.1.0 3,443 12/30/2015
9.0.1 2,378 11/30/2015
8.9.0 8,799 11/6/2015
8.8.1 1,805 10/5/2015
8.7.0 36,904 8/28/2015