I have a .net app that I just opened on in visual studio 2010 and converted to 4.0 when it asked me on start-up. I go to try to build the site, and I get this error:
<
I was just trying to go through an exercise in a Microsoft Step By Step book and I hit this problem when trying to precompile an ASP.NET appliction.
Here's how I got past this - and it took me a day to figure out!
When you open the Visual Studio Command Prompt to do your build/precompile, you must right-click and choose "Run As Administrator".
That's all it took for me when trying to run this aspnet_compiler -v DeployThis C:\DeployThis -f -u