When I compile my app in visual studio 2012 RC, I can see a bin\ folder generated in the project source folder as expected, in which there is a foo.exe, looks like the entry of the app. When I start debugging the app, its icon is put on the start screen and I can find a new folder created at
C:\Users\someone\AppData\Local\Packages\xxxxx_xxxxxx
But I can't find foo.exe in this folder, even after I searched the whole disk. It seems the win8 application has a different installation/deployment mechanism than old windows programs. My questions are:
(1) how/where the win8 app is deployed/installed?
(2) I want to use \AppData\Local\Packages\xxxxx_xxxxxx\LocalState as a local data folder(which equals to ApplicationData.Current.LocalFolder in the code), but the whole folder is deleted when right click the start screen icon and press "uninstall", without any warning. Any better place to store local data? Or I need SQLite? For example, my app writes all crash messages in error.txt, obviously I can't use sqlite in this case, and if I put error.txt in LocalState folder, users may already uninstalled the app, before I go to him to see what's in error.txt. Another scenario is: a user want to uninstall the app, but keep his local data(files). Obviously ApplicationData.Current.LocalFolder is not a good choice.