I recently came across this error while building my latest Windows Store app, and found it to be extremely frustrating to say the least. So I thought I’ll post what I did to resolve it.
After several attempts to resolve the problem, some of which included acquiring a new developer license (via the Project -> Store menu in Visual Studio), restarting Visual Studio, and even restarting the machine. All to no avail.
Finally, I decided to “pretend” I had just created this project, so I went to the BIN and OBJ folders of the project and deleted EVERYTHING under those folders. And BINGO, it started working again.
I’m sure some folks have already come across this and have been able to resolve it, but I hope this helps the folks who might just be starting out with Windows 8 development