'System.Net.Http.HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method

后端 未结 6 2174
梦如初夏
梦如初夏 2020-12-02 16:27

I made a console app to consume a Web API I just made. The console app code does not compile. It gives me the compilation error:

\'System.Net.Http.HttpConten         


        
6条回答
  •  时光说笑
    2020-12-02 16:48

    USE This Assembly Referance in your Project

    Add a reference to System.Net.Http.Formatting.dll
    

提交回复
热议问题