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. target 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
Post a Comment