Example of MPXJ library in C#
问题 I'm having a heckuva time finding any C# code examples using the MPXJ library when connecting to a Microsoft Project file. Can someone please post a snippet demonstrating how to write the contents of a table in an .mpp file to screen? Bonus points for any links/references! Thanks! ~Dan 回答1: hopefully this will help. First you need to open your project file: ProjectReader reader = ProjectReaderUtility.getProjectReader(inputFile); ProjectFile projectFile = reader.read(inputFile); This assumes