The type or namespace IHttpActionResult not found

前端 未结 11 2018
小鲜肉
小鲜肉 2021-01-31 14:04

This is the first time I am creating a Web API application in ASP.NET MVC4. I opened a new Web API project and added a new controller named \'Product\'. The function given below

11条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 14:20

    In my case after updating System.Web.Http to version 5.0.0.0, I needed to restart the IDE in order to fix this problem.

提交回复
热议问题