Project project = new Project();<o:p></o:p>
project.Set(Prj.StartDate, new DateTime(2015, 7, 1, 8, 0, 0));
Task task = project.RootTask.Children.Add("Task");
Resource rsc = project.Resources.Add("Rsc");
// 6 days duration
ResourceAssignment assn = project.ResourceAssignments.Add(task, rsc);
Console.WriteLine("Assignment cost = " + assn.Get(Asn.Cost));
project.Save(path + "Output.xml", SaveFileFormat.XML);
Your explanation “Resource assignment is calculated by using the resource “Standard Rate” multiplied by number of hours worked” kind of answers my question.
What I would like to be able to do is the following:
Thank you very much! This is exactly what I needed to get these rolling the way I need. Your help has been timely and most beneficial!