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.
mpp) files when you don't have Microsoft Project on your computer. Though you'll still need Microsoft Project to make edits, you can use apps like Project Viewer 365 and MOOS Project Viewer to simply view the files.
Project supports add-ins made with the JavaScript API, but there's currently no JavaScript API designed specifically for interacting with Project. You can use the Common API to create Project add-ins.
Any . mpp files from Project Desktop 2016 or later should be importable into Project for the web. Keep in mind that Project for the web has lower limits than Project Desktop.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With