Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with subprojects for .mpp files (using MS Project 2010) #121

Open
AndrewLGoldman opened this issue Sep 26, 2019 · 1 comment
Open

Comments

@AndrewLGoldman
Copy link

AndrewLGoldman commented Sep 26, 2019

Hey there,

Just found what I believe to be a new issue - we use MS Project 2010 files where I work, and I'd like to use your library, but I seem to have an issue with subprojects

To better explain -- from time to time, we will have one "macro" schedule that has many sub "micro" project schedules embedded into it

But in .NET / C#, when I use Task.SubProject.FullPath, sometimes it misses subprojects that are definitely linked (I have 1 macro schedule with 11 micro schedules attached as subprojects), and other times it's grabbing subprojects that aren't actually subprojects at all but successor or predecessor references to other .mpp files (just because their a successor or predecessor doesn't mandate them being a subproject)

Ultimately the field I'm trying to get at is "Subproject File" which is a native field in MS Project 2010, not even a custom field, and it doesn't appear that I can get this information today (screenshot of native field attached today)
subprojectFile

After further reviewing this issue - while the predecessor/successor issue still appears to be an issue, the other reason I wasn't seeing some actual subprojects was because they were added as "read only" inserted projects per the "Indicators" column, screenshot below --

secondPicture

I'm able to see everything without the red ! point, but all the red ! is indicating is that they were added as read only, so I would think I should still be able to get the "Subproject File" name

@joniles
Copy link
Owner

joniles commented Nov 29, 2019

Can you construct a set of sample files that I can work with and outline what the expected results are versus what you're actually getting with MPXJ? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants