I've seen this error if I don't run Visual Studio as an Administrator.
If you're not already doing so, right-click the VS icon in the start tray, right click your version of Visual Studio from the pop-up, and select "Run as administrator." Then load and run your project.