Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Referencing [Microsoft.Office.Interop.Outlook] Empty Referencing [Microsoft.Office.Interop.Outlook]

Mon 27 Jan 2020 - 8:51
I am trying to reference [Microsoft.Office.Interop.Outlook] located in [C:\Windows\assembly\]. In Mattercentre...
[OMS Advanced Scripting] Language -> References... -> References -> Browse -> [C:\Windows\assembly\], I can see the assembly but when I select it and press [Open] nothing happens.
Any suggestions?
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Referencing [Microsoft.Office.Interop.Outlook] Empty Re: Referencing [Microsoft.Office.Interop.Outlook]

Mon 27 Jan 2020 - 8:51
You can add it as a distributed assembly. Or copy it to a temporary location. At runtime it will resolve from the GAC.
But I would recommend that you create your own distributed assembly with all your office functionality it and call it from script. Debugging, Intellisense and refactoring will be much better in Visual Studio.
And if / when you upgrade office you'll only have one place to change things.
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Referencing [Microsoft.Office.Interop.Outlook] Empty Re: Referencing [Microsoft.Office.Interop.Outlook]

Mon 27 Jan 2020 - 8:51
I referenced and copied the DLL's in visual studio release folder and then copied them into The FWBS folder. It solved the issue.
Sponsored content

Referencing [Microsoft.Office.Interop.Outlook] Empty Re: Referencing [Microsoft.Office.Interop.Outlook]

Back to top
Permissions in this forum:
You cannot reply to topics in this forum