Managing Resource Costs

The Resource class is used to manage costs related to a resource:

Working with Resource Costs

To view resource costs in Microsoft Project:

  1. On the Resource sheet, from the Insert menu, select Column.
  2. Add the columns.

Getting Resource Costs in Aspose.Tasks

The following example shows how to get task costs using Aspose.Tasks.

 1Project project = new Project("New Project.mpp");
 3// Display all resources costs
 4foreach (Resource res in project.Resources)
 6    if (res.Get(Rsc.Name) != null)
 7    {
 8        Console.WriteLine(res.Get(Rsc.Cost));
 9        Console.WriteLine(res.Get(Rsc.ACWP));
10        Console.WriteLine(res.Get(Rsc.BCWS));
11        Console.WriteLine(res.Get(Rsc.BCWP));
12    }
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.