Please use framework reference to System.Net.Http in .net framework builds
See original GitHub issuenow .csproj file have for net452 and net 461
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<PackageReference Include="System.Net.Http" Version="4.3.3" />
</ItemGroup>
can you please use
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<Reference Include="System.Net.Http" />
</ItemGroup>
So resulting nuget package will have less package dependencies for .net framework.
@leastprivilege are you agree with this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (13 by maintainers)
Top Results From Across the Web
System.Net.Http 4.2 with .NET 4.7
Per suggestion and since I needed to use version 4.2, I have copied out the corresponding version to repository and added reference to...
Read more >Troubleshoot .NET Framework targeting errors
This article provides resolutions for MSBuild errors that might occur because of reference issues.
Read more >System.Net.Http is driving me insane. : r/csharp
NET 4.7.1, I've had a torrent of issues with System.Net.Http .dll references on our build server. ... Its a .net framework bug.
Read more >Ranorex always uses System.Net.Http.dll from the GAC ...
The primary reference "LTUtils" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Net.Http, Version=4.1.1.2 ...
Read more >Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That was the advice from the .NET team for the time being until they fix a bug they have in tooling.
OK - whatever that means. It seems .NET is fucked 😉