Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I access IsolatedStorage in the System.IO namespace?

I am Running VisualStudio 2012 RC on Windows 8 Release Preview.

I am logged in to Win8 using my 'live' aka 'outlook' ID.

I created a new Windows Metro Style project. When I try to use System.IO.IsolatedStorage Visual Studio tells me that I am missing a reference. But when I go to references there is nothing to add and it says all references added by default.

Now as far as I can see IsolatedStorage is part of mscorlib.dll so it being 'missing' is unlikely.

What am I missing?

Thanks and Regards, Sumit.

like image 744
sumitkm Avatar asked Aug 10 '12 21:08

sumitkm


1 Answers

IsolatedStorage is not part of .Net for WinRT. You will have to use Windows.Storage.

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

like image 198
Gambit Avatar answered Sep 29 '22 06:09

Gambit