Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ASP.NET MVC 4 scaffolding does not support Entity Framework 6 or later


Symptoms

When you use the Scaffolding Wizard with ASP.NET MVC 4, the following error message is displayed:

MVC scaffolding does not support Entity Framework 6 or later. For more information please visit 
http://go.microsoft.com/fwlink/?LinkId=276833.


↑ Back to the top


Cause

ASP.NET MVC 4 scaffolding does not support Entity Framework 6 or higher. Support of scaffolding of Entity Framework 6 is targeted for the next release of ASP.NET MVC.


↑ Back to the top


Resolution

You must manually scaffold your views or use Entity Framework 5 for scaffolding. Once you scaffold your application, you can use Entity Framework 6.


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2816241
Revision : 1
Created on : 1/7/2017
Published on : 2/18/2013
Exists online : False
Views : 626