Can not find system.web.http Can not find system.web.http asp.net asp.net

Can not find system.web.http


in order to get the system.web.http you will need to install a nuget packagein the nuget command line:Install-Package Microsoft.AspNet.WebApi.Core

https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Core/


I've had multiple errors regarding missing references such as "system.web.http" or "system.web.razor" in my project. Even though I do have all the references installed through nuget.

What worked for me was to install a standalone version of AspNetMVC4, even though Visual Studio 2014 installed that as well. Apparently it was missing some references in Windows. I've installed this from the Microsoft website, and all went well afterwards.

Hope this helps someone. It drove me crazy for like 2 days, nothing regarding nuget worked for me, I've deleted and reinstalled the references a couple times, did everything I've found in multiple posts on stackoverflow, nothing worked.

Url for mvc4 standalone setup from microsoft: https://www.microsoft.com/en-us/download/confirmation.aspx?id=30683