In VS 2010, changing
in a MVC2 project\'s .csproj file causes an error if you are using Entity Framework.
I had a similar error when setting MvcBuildViews="true"
which had to do with the build finding multiple web.configs due to build temp files and simply not liking it.
It's a totally different error, but I have a sneaky suspicion that they could be related...
You can find the original question I had here and then the solution outlined here.
The solution basically gets you to change where the output path is for you builds... so you need to add
to your website's csproj file.
E.g.
...BLAH...
..\TempBuildOutput
...A WHOLE LOTTA BLAH...
HTHs,
Charles