joniles / mpxj

Primary repository for MPXJ library

Home Page:http://www.mpxj.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing TimePhased conversion to XML in C#

juanlp opened this issue · comments

Can anyone please point me to the right syntax for writing to XML with TimePhasedData in C#

@juanlp thanks for the request, I will make some notes for you in the next day or so to explain how timephased data can be used now, and the changes I'm planning to make shortly in this area.

@juanlp just to let you know I haven't forgotten this! I'm just writing and testing some sample code for you, should be ready by the end of the week.

Hi @juanlp, I've written some sample code for you illustrating various scenarios using timephased actual and remaining work. Unfortunately the sample is current just Java, I haven't had the time to create a C# version, but hopefully you'll find it simple enough to translate. I'll let you know if I have the opportunity to update this to C# myself.

You'll find code the code here

Here's what the output looks like when opened in MS Project:

image

Here's the timephased work and actual work breakdown, as illustrated in MS Project:

image

Timephased data is an area I'm actively working on, so some of the APIs shown here may change.