Search code examples
c#memcachedenyim

C# Enyim Memcached - namespace 'Enyim' does not exist. Missing assembly?


Im want to start a new project using memcached with C# and I found the Enyim libraries the best choice, but when I try to use them I get the error:

The type or namespace 'Enyim' does not exist in the class or namespace 'Enyim' (are you missing an assembly reference?)"

What I did to set up the environment was: 1. Install-Package EnyimMemcached (with Nuget) 2. Adding "using Enyim." 3. When I compile the project I got the error

Any recommendation?


Solution

  • Change the target framework of your application to .NET Framework x.x.

    Not Client Profile. You can do it in project properties/compile/advanced compile options