VS 2010, altering
inside of an MVC2 project. If you're using Entity Framework, the csproj file results in an error.
Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config 129
While I'm debugging, I want to create views and have my project compile.
I had the same issue and discovered that the cause was that I had generated certain entity files (such as edmx) but erased them.
I merely generated these files, and then this issue arose. Upon closer examination of the program directories, I discovered that Visual Studio had just "removed" the applications from the project rather than "deleting" them entirely from the disk. Since it was an edmx file, the project chose to include it while it was being built. therefore the mistake.
Simple solution: remove the entity files from the HDD permanently!