System.Net.Http: missing from namespace? (using .net 4.5)

后端 未结 16 2291
我寻月下人不归
我寻月下人不归 2020-11-27 17:57

TL; DR: I\'m new to this language and have no idea what I\'m doing

here is my class so far:

using System;
using System.Collections.Generic;
using Sys         


        
16条回答
  •  渐次进展
    2020-11-27 18:16

    To solve the problem :

    1. Go to your solution explorer.
    2. Right click on the project name and choose add
    3. Select references and allow the .Net framework 4.5 to finish loading
    4. Scroll down and select System.Net.Http and click ok.

    Problem solved.

提交回复
热议问题