16

I'm trying to use the latest Exchange Web Services DLL, however when I search my hard drive I see many versions of Microsoft.Exchange.WebServices.DLL, the most recent being version 14.0.650.7 with a date of 1/24/12.

I want to rebuild my machine but can't find an official place to get this DLL. I attempted to download the latest SDK I don't see any DLL to use, nor is there any CHM for me to use.

Where can I get the latest version of Microsoft.Exchange.WebServices.DLL?

halfbit
  • 54,462
  • 46
  • 195
  • 426

4 Answers4

8

Here is the link to EWS 2.2

http://www.microsoft.com/en-us/download/details.aspx?id=42951

This was found by going to www.microsoft.com/downloads and searching for "Exchange Web Services Managed API" (thanks Jakob)

halfbit
  • 54,462
  • 46
  • 195
  • 426
  • 3
    Let may add that the EWS Managed has been added to the NuGet package source which makes it really easy to add to a project in Visual Studio. – Jakob Christensen Jan 05 '13 at 02:14
  • @JakobChristensen - I assume the Nuget name is intuitive ... like "msft Exchange 2.0" or something similar? – halfbit Jan 05 '13 at 02:16
  • NuGet is a tool for Visual Studio that makes it really easy to download and add references to different libraries. You can read more about NuGet here: http://nuget.codeplex.com/ – Jakob Christensen Jan 05 '13 at 02:20
  • @JakobChristensen Actually I meant the command would probably be `nuget ????` where `??? == MSFT Exchange 2.0` or similar... (what is the Exchange Lib Name). Regardless, thank you for the tip! – halfbit Jan 05 '13 at 02:33
  • 1
    Search for "Exchange Managed API" in the NuGet GUI. It seems that only version 1.2 is available through NuGet. – Jakob Christensen Jan 05 '13 at 16:02
6

Current version of the EWS Managed API is 1.2. It seems that Microsoft sometimes forgets to update links to the newest download which makes it hard to find out what the newest version is but I usually go to www.microsoft.com/downloads and search for "Exchange Web Services Managed API" whenever I need a fresh download.


UPDATE: EWS is on NuGet: http://www.nuget.org/packages?q=EWS

Jakob Christensen
  • 14,271
  • 1
  • 48
  • 80
2

This is an old question, and the two answers by the OP and @JakobChristensen do answer the question. I'll just mention that I'm finding the situation fairly confusing.

I recently (manually, not via NuGet) downloaded the current NuGet version, which they currently call "2.2.0".

https://www.nuget.org/packages/Microsoft.Exchange.WebServices/

But the internal file/product version on the .dll is 15.00.0913.015.

According to this page

https://msdn.microsoft.com/en-us/library/office/dn528373(v=exchg.150).aspx

the file should be placed here:

C:\Program Files\Microsoft\Exchange\Web Services\2.0\

So that's where I placed it. Later, when playing around with a Microsoft sample program I noted that it did indeed reference the file at that location.

But another Microsoft sample program referenced the file in the GAC!

C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Exchange.WebServices\15.0.0.0__31bf3856ad364e35\Microsoft.Exchange.WebServices.dll

This version had file/product version 15.00.0847.030.

I'm not sure how that file got there, probably part of a Visual Studio installation.

There's also something called EWSCore, which is apparently a forked version of the official EWS with some bug fixes.

https://www.nuget.org/packages/EWSCore/

My current decision is that I'll consider the official NuGet version to be the version I'll standardize on, and manually download it to my development PC and my build PC and place it here:

C:\Program Files\Microsoft\Exchange\Web Services\2.0\

RenniePet
  • 10,297
  • 6
  • 69
  • 98
0

I'm not sure this isn't off-topic here, but you'll probably want to download and install the latest Web Services Enhancement package: http://www.microsoft.com/en-us/download/details.aspx?id=14089.

  • If that's the latest version, it has a date of 2005. I'm sure those things have been bundled into WCF now, or the latest framework. Are you sure I'm not downgrading by installing it? – halfbit May 01 '12 at 18:07