Programmatically access a Microsoft Project (MPP) file from C#

Bob picture Bob · Sep 30, 2008 · Viewed 31.9k times · Source

What are my options for programmatically accessing a Microsoft Project file? What are the pros and cons of each approach?

I will basically need to import all data from the file into another data structure. Using the Office Interop assembies is low on the preference scale.

Answer

Jon Iles picture Jon Iles · Oct 9, 2008

The MPXJ (mpxj.sf.net) library comes in both Java and .Net flavours and will allow you to read and write multiple Microsoft Project file formats using a single consistent API. I am aware of commercial products which use both the Java and the .Net versions of MPXJ without any issues.

Disclaimer: I'm the maintainer of MPXJ.