question

VVoy-9866 avatar image
0 Votes"
VVoy-9866 asked lindalu-MSFT edited

How to use snd deploy Outlook libraries to Project command VS 2019

Hi there,
I would like to use Outlook libraries to create an meetings programmatically.

I use the sample as here : https://docs.microsoft.com/de-de/office/client-developer/outlook/pia/how-to-create-an-appointment-that-is-an-all-day-event

I added ComInterop Dll Microsoft.Office.Interop.Outlook.dll and that works fine on my local PC.

Now I would like to deploy my project on a server. The server has no outlook, so I get a ComInterop exception.

I think, if I install Outlook of the same Version on Server, that will works. But I cant do it.

Is it possible to get a workaround?

Thanks.
P.S.
I found here possible the solution, office-primary-interop-assemblies
I installed the VSTA
But I cannot find a Folder with Outlook-PIA dll.
Under
C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA
What Im doing wrong?



office-vba-devmicrosoft-graph-mail
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Outlook developer issue, not desktop client issue. In order to better help solve your issue, I added some dev-related tags here. Thanks for your understanding and hope your issue could be resolved soon.

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered

I think you can get it started from the following article talks about installing the Office PIAs and target your apps using the PIAs.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.