Using interop.MSProject.dll without Office installed or creating Project Add-in in Visual Studio -


i need work on project server using microsoft.office.interop.msproject.dll visual studio. using gacutil.exe have registered microsoft.office.interop.msproject.dll , @ folder "c:\windows\assembly" there entry msproject.dll processor architecture msil. have created console application , when try create application instance gives error: class not registered-hresult: 0x80040154 exception. shown in image. enter image description heretarget platform project x86(32-bit). reason error? because office not installed on local machine? there alternative using pia without installing office? have tried creating project add-in visual studio, works successfully, requires project professional open, want avoid. possible avoid opening of project professional application in case?

you need have application (i.e. ms project) installed on pc. interop files sre used marshalling property or method calls managed code host application.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -