Reschedule Project tasks and resource assignments

Reschedule Project From Start or Finish Date

This topic shows how to reschedule a project from the project start/finish date using Aspose.Tasks for .NET.

We can recalculate dates from finish date by setting the project finish date and then invoking Project.Recalculate().

Programming Sample: Rescheduling a Project from the Finish Date The following lines of code show how to achieve this using C#.

Programming Sample: Rescheduling a Project from the Start Date The following lines of code shows how to achieve this using C#.

Update Project and Reschedule Incomplete Work

Microsoft Project provides the facility to update and reschedule work through a defined date. This helps identify work completed up to the specified date as well as reschedule any uncompleted work from a specified date. Aspose.Tasks’s Project API provides the same functionality by exposing the UpdateProjectWorkAsComplete and RescheduleUncompletedWorkToStartAfter methods. This topic provides a working example of both these methods as a single use case.

Update Project Files

The example below demonstrates how to update a project through a specified date. The UpdateProjectWorkAsComplete method updates all the work as complete through a specified date for an entire project.

  1. If the Boolean input parameter is set to true, the method updates only those tasks to 100% complete that have finish dates before the specified completed-through date.
  2. If the Boolean input parameter is set to false, the method calculates a percentage complete value based on the scheduled state and complete-through dates.
  3. If a list of task is specified, the method updates all work as complete through the specified date for the list of tasks.