You just need to add a reference to the System.Runtime.Caching assembly.
- In solution explorer, right-click on “References”
- Select “Add reference”
- From left side menu select “Assemblies”
- Look for (or filter) and add
System.Runtime.Caching.dll.
It’s not part of the default set of references in a class library, but you should be able to add it with no problems.