Mpp generated file cannot be open if setting Tsk.UID with high value (C# .NET)

Version : 18.7
MS-Project 2010
capture-01.PNG (44.1 KB)

I can’t open mpp generated file when Tsk.UID is more or less greater then 1 000 000.
I didn’t see any limit in the API. Does someone knows what is exactly this limit and where I could find help about it ?
Thanks for help.


The Tsk.UID holds Int32 value that has maximum value of 2147483647. I hope the shared information will be helpful.

Yes, the Tsk.UID holds Int32 so It has maximum value of 2147483647, but this value is not supported by MS-Project. If you set a value more or less greater than 1 000 000 you can’t open file with MS-Project, you get an error.
I would like to know what is the limit number that is permitted by MS-Project and which is not defined in the API.


Can you please share the sample code used on your end to reproduce the issue so that we may log it in our issue tracking system for further investigation and resolution.