- Lynne Harding
- Posts : 335
Join date : 2018-12-20
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?
[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?
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
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.
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.
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
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.
Permissions in this forum:
You cannot reply to topics in this forum
|
|