From the ProjectQuery demo, which you can find from Demos\C#\ProjectQuery when you install Aspose.Tasks, I ran the code given below, which list down the hierarchies of all tasks.
I used Aspose.Tasks 1.6.3.0 and also has attached ProjectQuery.cs file
The output of the code is correct as you can see it.
OUTPUT:
Task: Network Infrastructure
>Task: Procurement
>>Task: Finish System Specs
>>Task: Finalize Quote
>>Task: Approve Quote
>>Task: Procure Equipment & Software
>>Task: Burn in Equipment
>Task: Preparation
>>Task: Setup Citrix Accounts on PCA Server
>>Task: Install AccountMate
>>Task: Configure AccountMate Modules
>>Task: AccountMate Training
>Task: Planning
>>Task: Design Network Plan for R&D Room
>>Task: Define Groups, Users, Permissions
>>Task: Define Backup & Recovery Plan
>>Task: Define Fail-over and Redundancy Plan
>Task: Server Installation & Configuration
>>Task: Setup Rack
>>Task: Setup Routers and Firewall
>>Task: Setup and Configure Blades
>>Task: Setup OS on Blades
>>Task: Configure SANs
>>Task: Setup Domain Controllers
>>Task: Setup Active Directory
>>Task: Configure Exchange Server
>>Task: Configure Communication Server
>>Task: Configure Edge Server
>>Task: Setup SQL Server Instances
>>Task: Setup Sharepoint Server
>>>Task: Define Users and groups
>>>Task: Define Web Sites
>>>Task: Define Document Management Heirarchy
>>Task: Setup Application Server
>>>Task: Install ADP Apps and configure for access
>>>Task: Install AccountMate
>>Task: Setup SQL Server
>>>Task: Import AccountMate Data
>>Task: Setup NX and Terminal Server
>>>Task: Install ADP Apps and configure for access
>>>Task: Setup App Server Replication
>>>Task: Setup Remote Users
>>Task: Setup ScriptLogic Desktop Authority
>>Task: Setup & Configure Backup Software
>Task: Desktop Setup
>>Task: Define Desktop Requirments
>>Task: Purchase Desktops/Notebooks
>>Task: Define Internet Use Policy
>>Task: Setup on Network
>>Task: Train Users on Software
Many Thanks and Kind Regards,
Shakeel Faiz
Support Developer
Aspose Sialkot Team
Contact UsAspose - The .NET and Java Component Publisher
Keep in touch! We're on
Twitter and
Facebook