问题
I am trying to see if I can port a .NET 4 project (specifically, Cassette) to 3.5.
I finished the entire main project but now I'm on the last error and I can't seem to figure out a workaround.
Cassette uses Isolated Storage to store asset files and in .NET 4 the related classes have been overhauled to be much more useful. In .NET 3.5, however, there are a lot of things missing.
I am stuck on getting the last write time of an isolated file. Is there a way to do this in 3.5 or is it a lost cause?
MSDN for .NET 4
回答1:
Perhaps scrap support for Isolated Storage in the .NET 3.5 version of Cassette? It's easy to use a regular file system directory (e.g. App_Data) instead.
来源:https://stackoverflow.com/questions/9180653/isolatedstoragefile-getlastwritetime-for-net-3-5