When you’re coding your Metro app application using Dev11, you can see this exception when you have invalid characters in the path. But it’s not only caused by this. This can be also caused right after you move your solution folder (and the projects) to a different folder, you open it again, you try to run it from the new location but you forgot to uninstall the Metro app deployed from the previous location.
To fix this issue, you just need to go to the Start page, and uninstall the Metro app that you’ve moved. That should fix the issue immediately, and you will be able to deploy the app from the new location…
I hope you find it useful!
Ezequiel


Thank you for posting this… this struck me this morning. Last night I had added my solution to SVN, and this morning it wouldn’t run, and I would have assumed that it was because of the .SVN directory that got added. Luckily I found this post.
Oddly enough, I had moved my solution to a temporary directory, then moved it back and never ran it form the temporary directory, but it still caused this problem.
Anyway, thank you.
Hey Nick, nice to hear that it helped you too… I understand what you mean! It happened to me like 3 times, and unfortunatelly the exception’s description is not very clear!
Happy Metro coding!