This is for fellow programmers who are using ASP.NET MVC 3 Preview 1 - keep informed.
Yesterday, I was experimenting with ASP.NET MVC 3 Preview 1 and came across a situation, where ASP.NET build manager throws an exception that it could not create the requested view. It does not say - WHY!
This problem does not occur in ASP.NET MVC 2.0 & ASP.NET 4.0 combination. Logically, the GetCompiledType method is doing what it is intended to do - return the compiled type of a page if it is really a compiled/compilable type. But there is some fault in the logic in the upper levels - where the returned result is used to create the view instance. It should also be able to create a non-compiled view - as in the ASP.NET MVC 2.
Details on http://blogs.callosmart.com/2010/09/28/compilationmode-problem-in-asp-net-mvc-3-preview-1/
Somebody from the MVC 3 team can comment on this problem.
View Complete Post