Could not load file or assembly 'System.Net.Http' or one of its dependencies

前端 未结 6 1471
你的背包
你的背包 2021-01-12 14:11

Maybe Relevant information: I have a web application I built with .net 4.5. I wanted to deploy to Azure\'s Web Sites but it only supports .net 4.0 so I downgraded the projec

6条回答
  •  再見小時候
    2021-01-12 14:14

    If all of the options you did didn't work, please try restarting (close / open as "admin") your visual studio, then clean / rebuild. This has fixed my problem.

    Though this is only for my local machine, haven't tried yet with other environments like in azure or in any server.

    I had the same experience with missing System.Net.Http issue.

提交回复
热议问题