Remove references to all depprojs where the exact same file can be
included via harvesting.
Remove all depproj's that are no longer referenced.
The only depprojs that remain are those that are required for live p2p
references.
Commit migrated from https://github.com/dotnet/corefx/commit/d5ea64de4e7092aed686faabfa2a638fe7a322b8
Pick up buildtools version that enables redistributing reference dlls.
For 3 packages we needed to explicitly preserve the latest ref since
these packages use netstandard assets to support desktop.
The package index is also updated to account for versions which no
longer appear in packages.
Commit migrated from https://github.com/dotnet/corefx/commit/c8ea1c32f6db4d5803b09e9b642cbf58aabc1c9e
The latest changes to make HttpClient an OOB implementation on desktop
were not getting the correct dependency set. This has to do with the
the way that EnsureOOBFrameworks evaluates assets to duplicate. It does
so by seeing if any placeholders are obscuring the netstandard asset and
copying the netstandard asset if that is the case. This worked fine for
the reference assembly, but not the implementation since it wasn't
actually obscured. The result was that NuGet selects the correct
assets, but is missing implementation dependencies.
For now I'm fixing this by changing the package structure to explicitly
break out the net46 implementations into their own folders. This is
essentially what we were trying to make happen automatically with
EnsureOOBFrameworks.
Longer term we might want to refactor how we generate dependencies
to do an actual nuget-asset selection in order to harvest from the
actual assemblies that NuGet will choose.
For now I'm also working around the problem that the unix shims are
being referenced everywhere even though they're only needed for Unix.
There's still a problem with this package in that we have two different
netstandard dependency groups (one meant for Windows and one meant for
Unix) but because we can't express that in a fat package the Unix one
will win, even on a windows machine, if the target framework supports
NETStandard1.4 or higher. This doesn't cause a problem at the moment
because the unix implementation is using a superset of the Windows
dependencies but we need to see about how to better handle
in lieu of the NuGet feature for RID-specific dependencies.
Commit migrated from https://github.com/dotnet/corefx/commit/0a8c4fb115246f80bcc86ddb88797bfd1c7271f7
To support important customer scenarios for CoreFx RTM, we will be updating the System.Net.Http contract from 4.0 to 4.1. We are focusing on HttpClientHandler enhancements.
We will be submitting the final proposed list of additions as part of issue dotnet/corefx#7623. As part of updating the contract to 4.1, we are also OOB'ing the Desktop (net46 Windows) implementation so that the package won't be a facade over Desktop but rather a full implementation. This is possible since System.Net.Http has always been a standalone dll in the .NET Framework. As part of this, we are changing the implementation for Desktop from the legacy HttpWebRequest sockets stack to the WinHttpHandler stack based on native WinHTTP. This will give us a good path forward as WinHttpHandler stack will be getting HTTP/2.0 support with newer versions of Windows 10.
This initial PR has a few API additions that we are definitely going to be adding. It's important to get these changes into the builds so that we can fully bake the OOB Http.dll assembly on all the platforms and continue package testing.
There is an existing System.Net.Http.WebRequestHandler class in the .NET Framework located in System.Net.Http.WebRequest.dll. This class is a subclass of HttpClientHandler. Due to this, we are being careful not to cause collisions with some of these added properties. WebRequestHandler has a 'ClientCertificates' property and a 'ServerCertificateValidationCallback' property. So, we are aligning/renaming the properties as we add them to HttpClientHandler OOB assembly. This may get altered slightly as we finalize the 4.1 System.Net.Http API.
Commit migrated from https://github.com/dotnet/corefx/commit/97c940eec1f6afe3e4af31e72d79c3a11e7b1ff1
Microsoft.CSharp, System.IO.Compression, and System.Net.Http are all
reference assemblies in the desktop and mono/xamarin targeting packs.
As such these won't be referenced automatically. Ensure we add a
reference when installing the package.
Commit migrated from https://github.com/dotnet/corefx/commit/eedef71bc2f4fe040ce10a5a59d385b036d3375f