Code Analysis error Could not load file or assembly 'System.Net.Http, Version=2.0.0.0 in MVC4 Web API

前端 未结 4 814
醉话见心
醉话见心 2020-12-13 06:42

this problem is exactly the same as this post http://forums.asp.net/t/1807797.aspx/1?System+Net+Http+is+not+found and this one on StackOverflow

I have all the latest

4条回答
  •  爱一瞬间的悲伤
    2020-12-13 07:16

    From Visual Studio 2012 and higher, instead of modifying your installation files, use the workaround specified here: Using Microsoft.Bcl.Async with Code Analysis causes errors.

提交回复
热议问题