edy*_*mtt 5 .net vb.net asp.net-mvc entity-framework
我已经转换了ASP.net MVC 4项目从.NET 4.0到.NET 4.5下在此介绍的技术SO回答 -尤其是在vbproj文件我已经设置TargetFramework到v4.5和Prefer32Bit到false.
我现在在Entity Framework模型中得到以下错误(继承自MVC模板项目)
TableAttribute is ambiguous in the namespace
System.ComponentModel.DataAnnotations.Schema
Run Code Online (Sandbox Code Playgroud)
使用对象资源管理器我已经看到TableAttribute了目前的程序集System.ComponentModel.DataAnnotations.dll(取自参考程序集)和EntityFramework.dll(取自从NuGet安装的Entity Framework 5).
| 归档时间: |
|
| 查看次数: |
3817 次 |
| 最近记录: |