Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Exchange EWS... Can't figure out how to access the dll?

I've downloaded and installed from here...

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13480

As suggested here..

Getting started with Exchange Web Services 2010

I try to create a new project in Visual Studio and do this...

using Microsoft.Exchange.Webservices but Exchange is not defined.

I've tried finding it in the Add Reference... dialog with no luck...

like image 862
jondavidjohn Avatar asked Jan 19 '23 07:01

jondavidjohn


2 Answers

You can find Microsoft.Exchange.Webservices.dll (Version 1.2) in the program files path.

%ProgramFiles%\Microsoft\Exchange\Web Services\1.2\

like image 73
SliverNinja - MSFT Avatar answered Feb 01 '23 01:02

SliverNinja - MSFT


It is a NuGet package now. I had the NuGet package as a reference, but I was still getting the yellow warning symbol on the reference.

enter image description here

I just had to right click my project, select Manage NuGet Packages... Then I uninstalled and reinstalled the same version. Shrug.

If you don't have the NuGet package, search for Microsoft.Exchange in the manager.

like image 32
Jess Avatar answered Feb 01 '23 01:02

Jess