- Home /
Cannot use namespace System.Net.Http and others from .NET 4.6
I am using Unity 2017.3.0f3 and VS 2017 (ver. 15.5.2) with 4.6 .NET enabled.
When I am trying to use some classes from namespace System.Net.Http Visual Studio telling me that "The type or namespace Http does not exists in namespace System.Net ". I tried to add reference directly in *.csproj and it worked fine but - after opening solution again - it is removed. What's more regarding namespace System - I observed that in csproj there are only references like this: https://pastebin.com/xT3jn2kr . The same issue is with System.ServiceModel namespace and others.
I have no idea how to add other references. What I'm doing wrong ? It looks like VS see only some libs from ...lib\mono\4.6-api directory.
Answer by montacerdk · Mar 28, 2018 at 03:18 PM
I think that Unity has his own libraries (WWW, WWWForm, UnityWebRequest, ...) that we can use for web requests and recieving data from servers. So did you find a way to do that?
Your answer
Follow this Question
Related Questions
Add to .net Arrays 1 Answer
Open With... a Build Unity program 3 Answers
How and where is serialized data stored? 1 Answer
Loading Animations at Runtime? 0 Answers
Is it possible to have consistent development for Windows Universal and Android apps? 0 Answers