Unable to activate Windows Store app
Unable to activate Windows Store app?
Once in a while (but always when I am in a hurry) Visual Studio does not agree with the Windows Store app I’m developing. Today I got this message:
Every time I start my app, Visual Studio pops up the dreaded Unable to activate Windows Store app dialog. The details vary and never give a clue to what is causing it.
Some developers claim to solve the problem by cleaning the solution but in my case it was not enough. What I needed to do was this:
Step 1: Uninstall the app
- Uninstall the app-in-development from Windows 8 by selecting the app (1) and click uninstall (2):
Step 2: Remove Obj and Bin folders
- Click show all files
And remove the
obj folder from the solution tree.
Step 3: Clean solution
I’m not sure what the difference is with deleting obj and bin folders but to be complete I also right clicked my solution and chose Clean Solution. After that, I was able to run the app again.