Adding Resources to Microsoft Project (MPP/XML) files


Resources are actually the people included in the project plan but resources can be people, equipment, facilities, funding, or anything required for the completion of a project task. In Microsoft Project, the resources tab provides various features to manage resources for the project. Aspose.Tasks for .NET API provides Rsc class to represent Resource properties. The Resource class allows adding a new resource to the project.

Add Resources to Your Project

The code example given below demonstrates how to create a resource.

1Project project = new Project();
3// Add resources
4Resource resource = project.Resources.Add("Rsc");
6project.Save("CreateResources_out.xml", SaveFileFormat.XML);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.