D
D
Demigodd2017-11-03 16:12:40
C++ / C#
Demigodd, 2017-11-03 16:12:40

How to install System.Net.Http from NuGet?

Visual Studio 2017 shows an error when trying to install System.Net.Http.
59fc6b184b422646553250.png
How to fix ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
d-stream, 2017-11-03
@Demigodd

https://www.nuget.org/packages/System.Net.Http
Dependencies
.NETCore 5.0
.NETFramework 4.5
so unless you raise the version of the framework for the project

J
John_Nash, 2017-11-03
@John_Nash

Properties -> Application -> Target Framework
You need to install version 4

R
Roman, 2017-11-04
@yarosroman

If you need this package and can't upgrade .Net, install version 2.0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question