Jan 24, 2014 at 1:14 PM
Edited Jan 24, 2014 at 1:27 PM
Hi, I've just upgraded to an application to ASP.NET MVC 5.1. I used NuGet to do this. I also installed the update (note that i'm using Visual Studio 2012):
The application builds and runs fine, however when I tried to edit one of the views the intellisense and the following error is thrown:
"One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?"
I did a search for this error message and have been through the suggested solutions but now I've broken it even further and get the error message:
"ASP.NET runtime error: There is no build provider registered for the extension '.cshtml'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute
attribute which includes the value 'Web' or 'All'"
I've even tried creating a new application and using the same exact config files but I get the same error. I've now wasted a day on this and I wish I never bothered with the upgrade. Really appreciate the help/advice.