Hi,
How to resolve issue below?
The type or namespace name 'ExchangeService' could not be found
Hi,
How to resolve issue below?
The type or namespace name 'ExchangeService' could not be found
You can add the reference via NuGet
https://www.nuget.org/packages/Microsoft.Exchange.WebServices/2.2.0?_src=template
Hi,
Is it to import/load Microsoft.Exchange.WebServices.dll to VS project? Where to get this dll?
There can be several reasons for this
You need to include a using statement e.g. using Microsoft.Exchange.WebServices.Data;
You need to add a reference for the library
Ensure under properties for this library you have it copy to local set to true
If you read the doc, there is :
Namespace:
Microsoft.Exchange.WebServices.Data
Assembly:
Microsoft.Exchange.WebServices.dll
So you must add a Reference to Microsoft.Exchange.WebServices.dll
And MSDN gives : Reference the EWS Managed API assembly
9 people are following this question.