【发布时间】:2011-06-21 08:46:58
【问题描述】:
在我的 ASP.NET MVC 3 项目中,我引用了我的 DomainModel 项目。
当我尝试创建强类型视图时会出现问题。在模型类列表中,我的 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同样的问题。
有什么建议吗?
【问题讨论】:
-
我也有同样的问题。
-
当我的模型在单独的类库中时,我似乎才遇到这个问题。
标签: visual-studio-2010 asp.net-mvc-3 strongly-typed-view