我无法在Visual Studio 2013(更新3和4)中搭建控制器(带有视图的MVC5控制器,使用实体框架).错误消息如下:
运行所选代码生成器时出错:
A configuration for type 'Library.Morthwind.Models.Catgeory' has already been added. To reference the existing configuration use the Entity<T>() or ComplexType<T>() methods
Run Code Online (Sandbox Code Playgroud)
我通过从"Entity Framework Power Tools Beta 4"工具菜单中选择"逆向工程师代码优先"来创建模型.
关于什么可能导致此错误的任何想法?