See
- Reference the EWS Managed API assembly
- And it the above does not work, get it from NuGet
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Can you help to the following issue?
See
If this is a .NET Core project (as shown in ConsoleApp2) see the yellow explanation icon this may be the problem in that the DLL is not compatible with .NET Core projects (and note the DLL is retired, never to be updated by Microsoft). Note ConsoleAp1 has no yellow explanation icon which is a .NET Framework 4.8 project.
See also: Microsoft's response to your error which points to an incorrect entry in web.config.
So if your project is .NET Core this is the problem. Try the code in a .NET Framework project that does not target .NET Core.
See my project below
It is Console app.