📅  最后修改于: 2022-03-11 15:04:07.234000             🧑  作者: Mango
Yes, you need to add a reference to
System.Net.Http.Formatting.dll
This can be found in the extensions assemblies area.
A good way of achieving this is by adding the NuGet package Microsoft.AspNet.WebApi.Client to your project.