andrewdavey/cassette — Issue #139: Only read IsolatedStorage if config for cache is using it
Author: bakesteve
Created: 2012-01-17 13:29:21+00:00
State: open

If we want to use filebased cache storage, rather than isolatedStorage, and set:

settings.CacheDirectory = new Cassette.IO.FileSystemDirectory("d:\\web\\someSite\Scripts\Cache");

in
Cassette.Web.Startup.PostApplicationStart
line 81 references isolated storage regardless - so if we cant use that Cassette will error

Should move to being lazy, and return null if our configurations dont use isolatedStorage?
Easiest way to test is just remove permissions for the iis_wpg users on the isolatedStorage folder.

If not enough time to look at this, I can have a look at producing a patch