I installed a retail version of Windows 8 Pro. I downloaded and installed Visual Studio Express 2012. I asked for and received a developers certificate. Then I tried to c
I was getting the exact same error. In my case the culprit was a NuGet package. It had added an app.config file to the project and it was confusing VS. I removed the app.config file and it solved my issue.
I got the solution at Iris Classon's site.
Playing with this issue for 3 days, tried every suggestions, nothing works. Until now!!!
The solution was this for me:
...and now I can sleep.
Hope it helps somebody.
this can happen when the application signing key (.pfx
file) is missing.
Try the following:
Package.appxmanifest
file in Visual Studio .gitignore
file. There should be an entry like !**\*_TemporaryKey.pfx
to include the key in Git.
This happened to me once too, but the deleting build directories advice fixed it. I assume that this is only one project since it's a Hello World app; otherwise I would ask if you deleted build directories from all projects in your solution.
You can also try running "Clean Solution" from the BUILD menu in Visual Studio.
I'm sorry...it's horrible if this is happening on a clean install as you describe.
Because of Two things i resolved this issue.
Basically, we just need to delete the bin\Debug
and bld\Debug
folders in our projects. Those contents will be regenerated by Visual Studio when you rebuild project.
Just Restart the Visual Studio. And Clean Build and Rebuild the solution and RUN it.
Hope this helps.,
Increasing the revision number of the package worked for me