I have a solution with projects for MVC, testing, data access, etc which builds fine when I click "build" in VS 2010.
When I try to use aspnet_compiler at the command prompt (aspnet_compiler.exe -c -v temp -p \absolute\path\to\my\solution\directory
), I get two errors and the build fails!
NOTE: I want to use aspnet_compiler to implement Luis Rocha's pre building views.
I don't know why this happen (and I would still prefer to have that answer), but it looks like the aspnet_compiler tool does not know where to find the System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider
type without explicit instructions in the web.config file. The build routine inside of VS 2010 somehow knows, and I do not understand why aspnet_compiler does not do the same!