Aspose.Task - Add Task Links in Parallel

Hi,

We have over thousand tasks with more than 100 linked tasks. It is taking more than a minute to add task link project.TaskLinks.Add. Is there a way to improve performance while adding task links?

I saw a method project.TaskLinks.AsParallel(). Is that meant to achieve parallelism? Can you please share a sample code using AsParallel?

Thank you,
Wajih

@wajihk ,

AsParallel is a .NET extension method.

It is hard to say without example code.
Do you set Project.CalculationMode to None or Manual before adding tasks ?