These contain the same libraries shipped at UWP RTM, repackaged in the
latest nuget format (netstandard, runtime packages, etc).
We use them as the baseline for package dependencies so that we can have
CoreFx packages use updated packages with netstandard support without
breaking shared library.
Directory structure:
Folder per package that will be redistributed.
Lib folder contains a deployment project (depproj) to restore and wrap
the old implementation DLLs.
We reuse the ref depproj's in the src tree to restore and wrap the old
reference DLLs.
New package projects are created depending on what type of project we
are trying to redist.
Standalone packages contain a single package, redisting ref and lib.
Runtime packages with API change in latest contain a reference package
redisting ref, and runtime packages redisting lib.
Runtime packages with no API change in latest contain runtime packages
redisting lib, and a validation-only package for reference. These
validation-only packages do not actually build any output since the live
reference packages are sufficient (no API change).
In any case where we needed to insert a version that would collide with
the latest package version we bumped up the current package version.
Here's a table of what is contained here:
Package name | UWP RTM version | Live version | What we need to ship
-------------|-----------------|--------------|---------------------
System.Collections | 4.0.10.0 | 4.0.11.0 | runtime packages
System.Collections.Concurrent | 4.0.10.0 | 4.0.11.0 | pre-versioned standalone package
System.Diagnostics.Tracing | 4.0.20.0 | 4.1.0.0 | pre-versioned ref + runtime packages
System.Dynamic.Runtime | 4.0.10.0 | 4.0.11.0 | runtime packages
System.IO | 4.0.10.0 | 4.1.0.0 | pre-versioned ref + runtime packages
System.Linq | 4.0.0.0 | 4.0.1.0 | pre-versioned standalone package
System.Linq.Expressions | 4.0.10.0 | 4.0.11.0 | runtime packages
System.ObjectModel | 4.0.10.0 | 4.0.11.0 | pre-versioned standalone package
System.Reflection.Extensions | 4.0.0.0 | 4.0.1.0 | runtime packages
System.Reflection.Primitives | 4.0.0.0 | 4.0.1.0 | runtime packages
System.Reflection.TypeExtensions | 4.0.0.0 | 4.1.0.0 | pre-versioned ref + runtime packages
System.Resources.ResourceManager | 4.0.0.0 | 4.0.1.0 | runtime packages
System.Runtime.Extensions | 4.0.10.0 | 4.1.0.0 | pre-versioned ref + runtime packages
System.Runtime | 4.0.20.0 | 4.1.0.0 | pre-versioned ref + runtime packages
System.Text.RegularExpressions | 4.0.10.0 | 4.0.11.0 | pre-versioned standalone package
This change also ensures that our pre-versioned packages include support
for dotnet5.4, and therefor dnxcore50. This garuntees that if someone were
to upgrade an individual package from RTM we still support all frameworks
that were supported at UWP RTM.
This will likely never occur since we'll produce a new lineup that uses
the latest runtime packages on DNXCore50, but we should preserve our
compat promise without requiring folks to update their lineup.
This is part of the work for https://github.com/dotnet/corefx/issues/5707.
/cc @weshaggard @chcosta
[tfs-changeset: 1571918]
Commit migrated from https://github.com/dotnet/corefx/commit/c8896fb3a3346326fb670fca5632527fc0eaf180
We need a new DNX to understand the latest packages.
We also need to move all "dotnet" projects to use dotnetX.X (generations)
now that the packages no longer have "dotnet" assets.
The new version of DNX dropped support for the aspnetcore
so I needed to update a few projects/packages that depended
on old package versions that had this moniker.
[tfs-changeset: 1540388]
Commit migrated from https://github.com/dotnet/corefx/commit/38f8d7a3ca1ee819c2b8eabb1c07ee4e99683c97
All projects that previously used dotnet have been updated to specify the appropriate generation of the surface area they depend on or in the case of desktop inbox contracts, the generation that includes the set of platforms they can support.
Now all packages contain all generations of API that they have ever shipped.
In doing this I needed to change how we determine package version. Before we ensured all assemblies would have the same version and used that. Now we choose the max.
Additionally I needed to change how we chose which asset to use for netcore50 when the dotnet asset was obscured by a placeholder for a previous netcore release (eg System.Runtime will have placeholders for Win8 since it was inbox there). To do this I wrote a task that uses nuget to evaluate the package assets with and without the placeholders. In this way it chooses the "best" dotnet implementation and reference assembly to use for netcore50.
This new model made my old MSBuild-based validation impossible to carry forward, so I wrote better validation in a task that actually uses Nuget's asset resolution algorithm. This uncovered many existing issues in packages that I have cleaned up. The validation algorithm could use some polish but its working now. Perf is not great, package build went from 15s to ~2 minutes. I'll work on this some more by making it incremental (input: nuspec, output: marker created on success). Profiling shows that most of the time is spent in calling the nuget APIs. I'll see if I can reduce some of this with caching for things that don't change (eg: RID graph). Ultimately I think its a reasonable tradeoff for the types of bugs I can find this way.
[tfs-changeset: 1539216]
Commit migrated from https://github.com/dotnet/corefx/commit/0931c347eb836c9da94d0d5ff9ad7a14403b9738
This change updates the assembly versions of all of the corefx assemblies
as needed after we shipped stable versions. Assemblies with API differences
get a minor version bump. Assemblies with only bugfixes get a build version
bump.
In order to facilitate this I had to update the reference assemblies, so I took
the opportunity to port them all to the open.
[tfs-changeset: 1514419]
Commit migrated from https://github.com/dotnet/corefx/commit/40723b795917f2e98b64d45c17effb2546dd0cae