Confused with the Isolated Storage with Multiple Assemblies Access

Posted by Peter Lee on Stack Overflow See other posts from Stack Overflow or by Peter Lee
Published on 2010-12-25T05:28:21Z Indexed on 2010/12/25 5:54 UTC
Read the original article Hit count: 282

Filed under:
|

I googled and searched a lot, but I got no luck.

I have a WindowsFormsApplication.exe and ConsoleApplication.exe. I want both of them to access to the same IsolatedStorage, is it possible?

I tried using this in ConsoleApplication.exe:

IsolatedStorageFile isoStore = IsolatedStorageFile.GetMachineStoreForApplication();

but I got:

IsolatedStorageException: Unable to determine application identity of the caller.

How can I fix this? Or can I use this way?

P.S.: This is NOT a ClickOnce app.

© Stack Overflow or respective owner

Related posts about c#

Related posts about isolatedstorage