Error: Registration of the app failed

I know there is already an accepted answer, but I had a totally different problem with the same excact error message. When th app was running I took a look in the SQLite database with a program that I didn't close when I uninstalled the app and re-run it from Visual Studio. I think that Visual Studio couldn't overwrite the database as I was 'using' it.

Closed the program and voila the app run smoothly.

Hope this helpes anybody else as I was stuck for precious hours!


I got this when attempting to debug a project from a shared folder.

Opening the project from a local folder first resolved the issue.