Error 7 The type 'System.Web.Routing.RouteValueDictionary'
exists in both
'c:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll'
and
'c:\WINNT\assembly\GAC_MSIL\System.Web.Routing\3.5.0.0__31bf3856ad364e35\System.Web.Routing.dll'
c:\Projects\VS\solutionfolder\projectfolder\Views\group\List.aspx 44 ProjectName
该项目使用T4MVC.tt,如果相关的话。同时使用Visual Studio 2010 Ultimate。 我没有将目标.net框架升级到4.0,因为我的主机在大约24小时内不支持此功能。 在同一解决方案中有一个.Tests项目,指定了它的目标为.net 4.0,但即使卸载了该项目,仍然无法构建,出现相同的消息。