无法获取模型的反射类型 [英] could not get the reflection type for model

查看:27
本文介绍了无法获取模型的反射类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第一步:右键生成

第二步:设置

第 3 步:错误信息

第 4 步:我的模型

如何解决这个问题?我无法生成创建表单

解决方案

我多次遇到过这个问题以及与脚手架相关的类似问题,我的 goto 解决方案几乎每次都有效——包括这个特定问题.

<块引用>

  1. 右键单击解决方案文件
  2. 选择重建解决方案"

...然后再次尝试您的操作.

这在 VS2017 和 VS2019 中对我有用过很多次——包括今天最新的 VS 2019.

脚手架似乎被已经建成的东西绊倒了,原因不明.

Step 1 : right click to generate

Step 2 : setting

Step 3 : error message

Step 4 : my Model

how to settle this ? i cant generate create form

解决方案

I have faced this and similar issues relating to scaffolding a number of times, and my goto solution works pretty much every time - including for this specific issue.

  1. Right click Solution file
  2. Select "Rebuild Solution"

...And then try your action again.

This has worked for me many times in VS2017 and VS2019 - including today with the latest VS 2019.

It seems the scaffolding is being tripped up by something that is already built, for reasons unknown.

这篇关于无法获取模型的反射类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆