Thanks for your answer. I solved the problem the same day that I posted it here, but I couldn't find it to take out or mark it as solved. I got the solution from Microsoft's forums. I solved it by adding a reference to System.Http.dll.
Yeison Mejia's Content
There have been 2 items by Yeison Mejia (Search limited from 27-April 23)