简体   繁体   English

MVC5 获取类型时出错

[英]MVC5 There was an error getting the type

I am working on a MVC 5 project.我正在从事 MVC 5 项目。 But when I click add view , I get an error as mentioned below:但是当我点击add view时,出现如下错误:

There was an error running the selected code generator: There was an error getting the type 'MVCdeneme.UYELER'.运行所选代码生成器时出错:获取类型“MVCdeneme.UYELER”时出错。 Try rebuilding the project.尝试重建项目。

UYELER is database table. UYELER是数据库表。

How to fix it?如何解决?

在此处输入图像描述

For this problem, you need to rebuild your project, and then create the controller.对于这个问题,你需要重建你的项目,然后创建控制器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM