❔ System.Net.Http Not Found
while compiling ths file, i got an error that say that Http doesn't exist in the namespace System.Net Who can help me fix it?
10 Replies
"Compiling the file"? You mean you have a loose
.cs
file that you're trying to compile with csc
or some such?no
its just meaning that i got an error
What version of .NET?
how i see that
In the
.csproj
file, for example.csproj doesn't exist
you mean file.csproj ?
Yes
I just gave you the extension, since the name differs
Open this file, don't try to execute it
You have your project open in your IDE. In the solution browser to the left (VS Code and Rider) or right (Visual Studio) you will see a green-ish icon that's a parent to all your files and is named like your project
That's the
.csproj
file
You can open it and you'll see the properties of it, in one way or another
Or you can just navigate to it with file explorer, and open it in Notepad or whateverWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.