If you receive the following error in Visual Studio…
“Unable to activate Windows Metro style application”
… or a similar error in Blend…
“Unable to activate application --- on the Local Machine”
… the quickest fix is to delete the contents of the bin directory and rebuild the project.