I am working on a MVC3 razor project. my solution worked correctly, but now it compiles correctly, but shows an error at runtime. The following error shows, please give me help to solve this problem.
Expression of type 'System.Web.Mvc.MvcWebRazorHostFactory' cannot be used for return type 'System.Web.WebPages.Razor.WebRazorHostFactory'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below
source share