Visual studio 2010 MVC 2 (2008 project imported) - publish fails - System.Web.Routing.RouteValueDict

Posted by Maslow on Stack Overflow See other posts from Stack Overflow or by Maslow
Published on 2010-04-13T18:13:30Z Indexed on 2010/04/21 5:03 UTC
Read the original article Hit count: 553

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

The project utilizes T4MVC.tt if that is relevant. Also Visual studio 2010 ultimate. I did not upgrade the target .net framework to 4.0 because my host will not support this for ~24 hours.

I have a .Tests project in the same solution that says it is targeting .net 4.0 but it still won't build even with that unloaded, same message.

© Stack Overflow or respective owner

Related posts about visual-studio-2010-rtm

Related posts about visual-studio-2010