1. 程式人生 > >The type `HttpClient` is defined in an assembly that is not referenced

The type `HttpClient` is defined in an assembly that is not referenced

The type `HttpClient` is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

 

解決方案:

https://docs.unity3d.com/Manual/dotnetProfileAssemblies.html