I get the following exception after installing ASP.NET MVC 4 Beta on a machine with ASP.NET MVC 3.
System.InvalidCastException was unhandled by user c
Try adding the following in your web.config:
The issue might be due to multiple build providers being registered and the latest winning.