Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8383349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:08:32+00:00 2026-06-09T17:08:32+00:00

When I compile my app in visual studio 2012 RC, I can see a

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:08:33+00:00Added an answer on June 9, 2026 at 5:08 pm

    1) The Windows 8 packages are deployed to c:\Program Files\windowsapps\, but by default you don’t have ownership of that folder and so can’t access it. That’s largely irrelevant, though. You should never have access to this folder by design.

    2) Again, deleting the local data folders for an app on uninstall is expected behaviour. Otherwise, if you deployed an app via the store and it started to misbehave and took up all of your available storage, there’d be no simple way for a user to delete that data. Your assertion that there is no warning is not true, however. The uninstall popup clearly says “This app and its related info will be removed from this PC”

    In some instances, storing data in the roaming folder may be an option, but this folder is not intended ofr large amounts of data – it’s there to hold application settings / config options to roam between devices. You could probably put your crash log in there during dev (if it is small enough), but there is no guarantee that it will be synced to the cloud before the app gets uninstalled. Your best bet would probably be to use the Live SDK to sync data to the cloud, but again, you have no guarantee that data will be written instantly to the cloud.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Visual Studio, there's the compile flags /MD and /MT which let you choose
I've created a basic console app in Visual Studio 2008, which references an external
How to Compile CUDA App is Visual Studio 2010 ? Here are my steps:
I fired up my first asp.net 4 app put together with visual studio 2010
Using Visual Studio 2008 and VB.Net: I have a working web app that uses
Similar to this question Compile to a stand-alone executable (.exe) in Visual Studio But
Every time I change a file in a web project in Visual Studio (.js,
Can someone explain this to me? In Visual Studio 2010, create a VB.net Windows
When working on a c# MVC3 app in Visual Studio 2010, I have turned
In Visual Studio 2008, when I save a file in the App_Code folder it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.