Error creating new MVC Controller for Entity Framework

I downloaded and installed Visual Studio 11 (2012) RC today but I am getting an error every time I try to add a MVC controller to a project. 

Unable to retrieve metadata for 'MyNamespace.TestEntity. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

I know this bug existed in Visual Studio 11 Beta but it is marked as fixed in Microsoft Connect.  If anyone has a fix for this, please post!

MVC_Error

 

You can vote for this bug on Microsoft Connect here: 

https://connect.microsoft.com/VisualStudio/feedback/details/745901/error-creating-new-mvc-controller-for-entity-framework

Brenton House

No Comments