In a .NET application I am using Microsoft.Office.Interop.MSProject
library to automate and write data to an Ms-Project .Mpp file. There are thousands of tasks and resource assignments that should be created and it takes very long to create them by using methods like Assignments.Add
, like 10s of minutes in total.
In the below link, there is a very similar problem and the answer mentions that the fastest way to import data to an MS-Project file is to create a map and use "Project Import Wizard". After the answer adds Automating the Wizard is another subject and requires another question, so this is that question; If I create a map and create the data on an Excel or CSV file, how can I automate Project Import Wizard so it imports the data from that file by using a specific map without manual user interference. How to Improve Performance when Loading Data into Microsoft Project with VSTO
EDIT :