在我的ASP.NET MVC 3项目中,我有一个对我的DomainModel项目的引用。在ASP.NET MVC 3中添加视图时缺少模型类
当我尝试创建强类型视图时,会出现此问题。在模型类列表中,我的DomainModel模型不存在。
,我做了尝试,但没有成功(从另一个线程)以下:
-remove reference to the library containing the model
-clean project
-close VS
-reopen VS
-rebuild project (VS throws errors)
-re-add reference to the model library
-rebuild project
我也试图更新VS2010 VS2010到SP1相同的问题。
有什么建议吗?
我有同样的问题。 – Tengiz
当我的模型在单独的类库中时,我似乎只有这个问题。 –