无法引用 EWS 托管 API

Unable to reference EWS Managed API

正在尝试将 EWS Managed API 2.0 用于我的 MicroSoft .Net 4.0 (C#, WinForms) 应用程序。

我已下载 EWS Managed API 2.0 并根据需要从 Visual Studio 2010 在我的应用程序中添加了对 Microsoft.Exchange.WebServices.dll 的引用。但是我仍然无法使用 using 语句包含这个库,如下所示。

using Microsoft.Exchange.WebServices.Data 

Error: The type or namespace name 'Exchange' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

注意:为了引用 API,我遵循了以下 MSDN 文章中的说明:
https://msdn.microsoft.com/en-us/library/office/dn528373(v=exchg.150).aspx

项目的目标框架需要从“.NET Framework 4 Client Profile”更改为“.NET Framework 4”,这将修复此错误。