IsolatedStorageFile.GetLastWriteTime for .NET 3.5

别等时光非礼了梦想. 提交于 2019-12-12 10:21:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!