The worker role project will have necessary dependencies when you configure it for caching via the properties dialog window.
Then you need to add reference to the caching assembly only to the project that uses the cache, and make sure you mark it with True
value for the Copy Local
attribute.