You might be doing a .NET app for Windows Store (Windows 8 and above) and not a normal Win Forms App. You need to use the Windows.Storage
namespace.
There is no direct System.IO.IsolatedStorage namespace..
use Windows.Storage.ApplicationData.Current.LocalData
instead of System.IO.IsolatedStorage.IsolatedStorageFile
class.