Commit Graph
22 Commits
Author SHA1 Message Date
Eric St. John 44a6eecbae Make netcore50 build of S.Net.Http target uap10.1
This permits it to implement the upcoming surface (eg: IClonable).

In doing this I had to fix some other libraries which had pushed types
down to ensure they packaged for uap10.1.  Similar to what I did in
https://github.com/dotnet/corefx/commit/dotnet/corefx@30fb0e7be5a3858a86d34e87f1ddbb638269ac20


Commit migrated from https://github.com/dotnet/corefx/commit/6f23d0fda0621038885ffdb13ba5ad37ca12b838
2016-10-20 14:02:50 -07:00
Eric St. John c95ddf07bc Make System.Net.Http target ns1.7
Commit migrated from https://github.com/dotnet/corefx/commit/ed43dd3bc73fc4426d6e38d5156f7715d693742f
2016-10-20 13:25:58 -07:00
Alex Perovich 674bb7a0f8 Update project ToolsVersions to 14.0 (dotnet/corefx#12355)
Commit migrated from https://github.com/dotnet/corefx/commit/71de1aac5cf3e5dc87714ae0cc829e1fa98f7c5d
2016-10-05 12:50:37 -07:00
Eric St. John f04dcf8b81 Clean up depprojs
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
2016-09-21 14:46:03 -07:00
Eric St. John 537df8cdcc Redistribute reference dlls
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
2016-09-19 12:59:18 -07:00
Eric St. John add29a7cbd Remove ValidationSuppression.txt files
We now support suppressions in the project file.


Commit migrated from https://github.com/dotnet/corefx/commit/19514133eea98c48e7ae0f46b76d8e90e49fcfaf
2016-08-16 11:24:10 -07:00
Eric St. John f7a8a6ebb5 Validate Xamarin frameworks
This adds validation for Xamarin frameworks and fixes some packages
which were not representing Xamarin correctly.


Commit migrated from https://github.com/dotnet/corefx/commit/e586f1b2f4eca793de97361aa4b981eb966d13ec
2016-07-12 14:52:53 -07:00
Eric St. John 3b1d041ed2 Bump versions across corefx and move to beta
Now that we have stable packages for our current versions we need to
bump the 3rd portion (bugfix) to represent code-changes without API
additions.


Commit migrated from https://github.com/dotnet/corefx/commit/92a411776004239482ba1b5032afc8483518810c
2016-06-16 16:03:53 -07:00
Eric St. John 52fb000bf4 Use netcoreapp1.0 TFM for .NETCore validation
Commit migrated from https://github.com/dotnet/corefx/commit/17d24311ef3490a7d4ec25f8105c780c1018a577
2016-04-30 09:53:43 -07:00
Eric St. John abef5ac8e4 Remove internal project package references
These are no longer needed with the latest buildtools.  They'll be
harvested just like other dependencies.


Commit migrated from https://github.com/dotnet/corefx/commit/3a9ce15074ced337f75419aa88a263e6cb325b5f
2016-04-15 07:05:02 -07:00
Eric St. John 69f5754740 Fix HttpClient dependencies on desktop
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
2016-04-13 13:32:47 -07:00
David Shulman dbbd669af6 Initial System.Net.Http 4.1 contract
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
2016-04-13 09:50:34 -07:00
Eric St. John 608e8a43cd Add support for PCL profiles
Adds support for profile-based PCL using placeholders.


Commit migrated from https://github.com/dotnet/corefx/commit/5853b8f459c5b07d543274cd16137375970356ae
2016-04-12 14:49:26 -07:00
Eric StJohn 02af87b7e8 Merge pull request dotnet/corefx#7014 from ericstj/xamarinAsFrameworkReference
Add-ref 1:1 assemblies on Xamarin

Commit migrated from https://github.com/dotnet/corefx/commit/181e6331d98acbf976ace048c63101feec0f612f
2016-03-22 11:33:27 -07:00
Eric St. John db01546613 Temporarily revert implementation assembly version to match package version
I made a previous change to decrement assembly versions to enable our packages to be consumed
in desktop and redistribute netcore50 assemblies: https://github.com/dotnet/corefx/pull/6902

That caused a lot of runtime breaks because folks who were built against old packages would
get ref-def mismatches at runtime.  Rather than keep everything broken until the whole stack
updates I'm moving the implementation assemblies back to the old versions.  This will let folks
move to the new packages with the lower versioned ref-assemblies.  Once everyone is on the new
packages we can undo this change.

Change is going directly into TFS to make tonight's build.  I will deal with the fallout during mirror.

[tfs-changeset: 1588328]


Commit migrated from https://github.com/dotnet/corefx/commit/0f268ed1079c182d71cdf49cde3f339a01d67863
2016-03-22 06:47:57 -07:00
Eric St. John 1586e36fed Add-ref 1:1 assemblies on Xamarin
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
2016-03-17 17:20:57 -07:00
Eric St. John 7600be1e8b Make desktop inbox contracts match inbox version
Fixes https://github.com/dotnet/corefx/issues/5842

For API assemblies that are inbox in desktop and have no API changes
over the version in desktop, don't increment revision.


Commit migrated from https://github.com/dotnet/corefx/commit/6ad2e34491d3cd3a078c225f98b2c49268db81e1
2016-03-15 13:57:04 -07:00
Christopher Costa aab016344e Fat package conversions
Commit migrated from https://github.com/dotnet/corefx/commit/be08afd9701053f5f9369762db58b87c8ca9559f
2016-03-10 16:15:19 -08:00
Eric St. John 7c5ac76238 Add support for new Xamarin frameworks
The latest build tools contains framework lists for two new Xamarin fxs:
  Xamarin.TVOS
  Xamarin.WatchOS

This adds placeholders for those frameworks so that they can support
the packages with inbox facades.


Commit migrated from https://github.com/dotnet/corefx/commit/baf425fa935f4ecd32712448be627604067cf1d3
2016-02-29 14:43:27 -08:00
Eric St. John 19554adc35 Update buildtools and change validation framework
Update BuildTools to 1.0.25-prerelease-00180

Change validation framework moniker from dnxcore50 to
netstandardapp1.5.


Commit migrated from https://github.com/dotnet/corefx/commit/7c50768be0a2008480aa22ddb8038fdcb0e8039b
2016-02-29 14:43:26 -08:00
Eric St. John afdeaf78b0 Remove use of DNXCore from packages
This changes every package that used the DNXCore50 moniker to use a
NETStandard moniker instead.


Commit migrated from https://github.com/dotnet/corefx/commit/6008326984df7bddff751d0fec678ee29d821a59
2016-02-29 14:43:25 -08:00
Christopher Costa 1df6eaae43 Open package conversions for corefx.
Commit migrated from https://github.com/dotnet/corefx/commit/030e29992f6be20ffb9d9d3e799118f3354bce22
2016-02-11 13:37:45 -08:00