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.
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. :(
DonaldAdams
0 Points
1 Post
ASP.NET and Web Tools 2012.2 Breaks MVC4 WebAPI
Dec 18, 2012 05:46 AM|LINK
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. :(
Angie xu - M...
All-Star
18592 Points
1575 Posts
Microsoft
Re: ASP.NET and Web Tools 2012.2 Breaks MVC4 WebAPI
Dec 24, 2012 08:14 AM|LINK
Hi DonaldAdams
Sorry for the issues that you are hitting. I think you could try uninstall ASP.NET and Web Tools 2012.2 first, and then
install the Update 1 for Visual Studio 2012, you can download it for free from the link below,
http://www.microsoft.com/visualstudio/eng/downloads#d-visual-studio-2012-update
Download ASP.NET and Web Tools 2012.2 here, then re-install it.
hope it helps you,
Kind regards
Feedback to us
Develop and promote your apps in Windows Store