Search code examples
c#exchange-serverexchangewebservices

Connect to EWS (Exchange 2016)


I am creating my Service like this:

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);

Currently I am using .NET 4.6.1 and Microsoft.Exchange.WebServices v15.0.0.0 (Nuget Version 2.2.0.

I am missing enums for Exchange 2016.

enter image description here

Why is that ?


Solution

  • That NuGet package was last updated January 15th 2015. Exchange 2016 was released on October 1st 2016. Since that version of Exchange didn't exist at the time the package was created, and Microsoft didn't add it ahead of time, that explains why it's not there.