I am using IsolatedStorage technology in my C# .net application.
My Application saves data on close in a file called MyData.dat in the isolated storage.
when i open my application it reloads that data and print it on the screen.
when i move my application to another directory, for example from D:\MyApp.exe to D:\Apps\MyApp.exe, and then run the application from it's new directory, it fails loading the file MyData.dat (FileNotFoundException) because it looking for a different MyData.dat file in a different place..
Does somebody know how i can save my isolated file - MyData.dat file in a place that no matter from where i open my App.exe it will find it?
Check the directory of IsolatedStorage retrived in both cases. Even if the machine is the same, expected storage path could be different for the same application in different locations.