Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: MVC4 routing issue with web api [573]

$
0
0
In VS 12 professional and express: When trying to launch MVC4 I get: Could not load type 'System.Web.Http.RouteParameter' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
MVC3 works fine.
When i comment with // the line WebApiConfig.Register(GlobalConfiguration.Configuration); in Global.asax it launches, but i can not use deeper Web API functionality.
I installed, reinstalled few times: .net 4.5, MVC4, visual studio 12 express and professional- but always is the same problem. I did uninstall my VS12 beta. What else to do short of throwing my old Windows 7 and reisntalling it?
Thanks!
Comments: Can you check that you don't have an old version in the GAC: From a Visual Studio Command prompt running as admin, try this command: gacutil -l system.web.http if you get any results then delete them. Thanks, Henrik

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>