output type of ‘Class Library’, and a target framework of ‘.NET Framework 4’.
According to everything I’ve read, I should have it available, but all I’m seeing in the System.Runtime namespace is the following:
CompilerServices
ConstrainedExecution
ExceptionServices
Hosting
InteropServices
Remoting
Serialization
Versioning
Any ideas?
You just need to add a reference to the
System.Runtime.Cachingassembly.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.