为什么我不能在System.IO命名空间中访问IsolatedStorage?

sum*_*tkm 5 isolatedstorage microsoft-metro windows-8 windows-runtime

我在Windows 8 Release Preview上运行VisualStudio 2012 RC.

我使用"live"又名"outlook"ID登录Win8.

我创建了一个新的Windows Metro Style项目.当我尝试使用System.IO.IsolatedStorage Visual Studio告诉我,我错过了一个引用.但是当我去参考时,没有什么可以添加,它表示默认情况下添加了所有引用.

现在,据我所知,IsolatedStorage是mscorlib.dll的一部分,因此它"丢失"的可能性不大.

我错过了什么?

谢谢和问候,Sumit.

Gam*_*bit 5

IsolatedStorage不是.Net for WinRT的一部分.您将不得不使用Windows.Storage.

http://msdn.microsoft.com/en-us/library/windows/apps/br230302%28v=vs.110%29.aspx#storage