Deploying a Windows 8 Application

When I compile my application in visual studio 2012 RC, I see the folder bin\generated in the project's source folder, as expected, in which there is a foo.exe file, it looks like an application record. When I start debugging the application, its icon is placed on the initial screen, and I can find a new folder created in

C: \ Users \ who \ AppData \ Local \ Packages \ xxxxx_xxxxxx

But I can not find foo.exe in this folder, even after I searched the entire drive. The win8 application seems to have a different installation / deployment mechanism than older Windows programs. My questions:

(1) how / where is the deployment / installation of win8 application?

(2) I want to use it \AppData\Local\Packages\xxxxx_xxxxxx\LocalStateas a local data folder (which is equal ApplicationData.Current.LocalFolderin code), but the entire folder is deleted when I right-click the start screen icon and click “delete” without any warning. Best place to store local data? Or do I need SQLite? For example, my application writes all the alarms to error.txt, obviously, I can not use sqlite in this case, and if I put it error.txtin the LocalState folder, users may have already uninstalled the application before I go to it to see what's in error.txt. Another scenario: the user wants to delete the application, but save its local data (files). Obviously ApplicationData.Current.LocalFolder is not a good choice.

+5
source
2

1) Windows 8 c:\Program Files\windowsapps \, , . . .

2) , - . , , , . , , . : " "

, - / . , dev ( ), , , . Live SDK , , , .

+4

Windows 8 Metro. , :

Windows.Storage.ApplicationData.Current.LocalFolder.Path;

, , . "", , , .

SQLLite-net : http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx

+1

All Articles