Max*_*dov 9 .net visual-studio-2010 asp.net-mvc-3
不确定即使这是可能的,但我收到此错误消息:

发生在我之后:
Warning 3 The primary reference "System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".我敢打赌解决方案是平庸的,但必须是周五下午.
顺便说一下,我还安装了VS 2008,MVC 1,MVC 2,所有.NET框架版本和功能.
更新1: 事实上,我对面向.NET 4的MVC 2项目存在完全相同的问题.
更新2:我觉得这是某种联系-我真的很想念System.Data.Linq.dll的文件夹中C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0(虽然System.Data.Linq.xml存在)
我重新安装了.NET 4框架,但没有解决问题.
| 归档时间: |
|
| 查看次数: |
3903 次 |
| 最近记录: |