Sample about read from or write to MS Project 2016.
Here are two demo about how to read from or write to MS Project 2016
- WIP - using
NetOffice
library and here is the origin repo NetOffice - Done - using
MSProject
COM+ andOffice
library
Microsoft Visual Studio
- Create a .NET solution
- Add a Console Application
- Add dependency
- COM+ (Microsoft Office Project 16.0 Object Library)
- Refer from this path
C:\Windows\assembly\GAC_MSIL\Policy.14.0.Microsoft.Office.Interop.MSProject\15.0.0.0__71e9bce111e9429c\Policy.14.0.Microsoft.Office.Interop.MSProject.dll
- Refer from this path
- OFFICE (Program Libraries)
- Refer from this path
C:\Windows\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c\OFFICE.DLL
- Refer from this path
- COM+ (Microsoft Office Project 16.0 Object Library)
- Create a Class about Microsoft Project file informations (
TaskId
TaskName
Start
End
Duration
ResourceName
... ) - Create a MS Project Handle about common methods
- Now, you can perform a read from or write to MS Project 2016 file
- NetOffice 🚧
If you think this repo is helpful to you and you happen to have extra money, then you might as well sponsor a cup of coffee for me, many thanks 🙏
Wechat or Alipay ☕