Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

ASP.NET and Web Tools 2012.2 Breaks MVC4 WebAPI

$
0
0

I read:

ASP.NET and Web Tools 2012.2 is a tooling refresh of Visual Studio 2012 that extends the existing ASP.NET runtime with new features without breaking existing applications.

I installed and it broke my existing application:

In Global.asax.cs on the following line:

 WebApiConfig.Register(GlobalConfiguration.Configuration);

If get the error:
Method not found: 'System.Web.Http.Controllers.ServicesContainer System.Web.Http.HttpConfiguration.get_Services()'.
When trying to run my MVC4 WebAPI application

Uninstalling 2012.2 removed made things worse... have to reboot now cause I'm attempting to reinstall visual studio. :(

 


Viewing all articles
Browse latest Browse all 631

Trending Articles



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