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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
How to resolve issue below?
The type or namespace name 'ExchangeService' could not be found
There can be several reasons for this
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