Commit Graph
348 Commits
Author SHA1 Message Date
stephentoub dabfe7fc9d Update packages to rc3-23930-00
Commit migrated from https://github.com/dotnet/corefx/commit/64a2b6c70977e33b4e8fb90e8f5d3b019b843e61
2016-03-30 07:30:59 -04:00
stephentoub aa64955b41 Update packages to rc3-23925-00
Commit migrated from https://github.com/dotnet/corefx/commit/268eea1b538fa80a0042a1eabc4e51c84473d7b0
2016-03-25 20:23:47 -04:00
stephentoub 0de8ee2b33 Update packages to rc3-23923
Commit migrated from https://github.com/dotnet/corefx/commit/123180cde4aadbed151ffbc00c09b85b7532da68
2016-03-23 11:56:57 -04: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
stephentoub b60997fa74 Update packages to rc3-23921
Commit migrated from https://github.com/dotnet/corefx/commit/3eb508d41d476e4ca0c74d106584c7a7f0d51a17
2016-03-21 12:10:10 -04:00
Jon Hanna 9e5785eb93 Fix Multiple Typos
Commit migrated from https://github.com/dotnet/corefx/commit/b0dd6b14fc845058b768fc7052b46aab0c1da22c
2016-03-20 16:37:09 +00:00
Eric St. John 6aeccb0bae Fix tests to restore using the latest packages
We removed the lifting from the lineup so tests should reference the
latest packages in order to ensure an implementation is available.

The latest pacakges exclude implementation dependencies so I needed to
add these to projects that were depending on them coming in transitively.


Commit migrated from https://github.com/dotnet/corefx/commit/bef9061fd1238adf47b864d8924d121e4134465b
2016-03-19 08:01:11 -07:00
Eric St. John d28646e6b3 Fix restore errors in source projects
The latest drop of packages no longer includes lifting entries in the
lineup.  This causes errors when restoring for a concrete TFM and no
implementation assembly is in the packages.

I addressed this issue two ways:
1. In places where we were targeting a concrete TFM but packaging as
 NETStandard, just target NETStandard instead.
2. In places where we were targeting a concrete TFM but that packages
were missing the implementation on that TFM, update the reference to
newer package version where implementation is available.


Commit migrated from https://github.com/dotnet/corefx/commit/dfb30176c6056f5b3427515c4444a9dc31b9ba4f
2016-03-19 08:01:10 -07:00
Eric St. John ff75367f93 Update packages to rc3-23918
Commit migrated from https://github.com/dotnet/corefx/commit/d3d217b2ab336b862c27a3e605e32dc0c0a6d472
2016-03-19 08:01:09 -07:00
Eric St. John 78606c3119 Always specify RID for redist projects
Though we don't need a RID to pull out the right asset we should
specify a RID to avoid failures on Unix where auto-rid chooses a Unix
RID which triggers guardrails since these old packages didn't support
x-plat.


Commit migrated from https://github.com/dotnet/corefx/commit/7164aaadf1c1593567a4374ba8894205c02d9263
2016-03-16 13:25:27 -07:00
Eric St. John 93ae49a2e5 Use netcore50 shared-lib binaries instead of live
UWP uses shared library which must have exact-match binaries to what
shipped at RTM.  Previously we had "special versioned packages" that
folks had to know to use when targeting UWP.  This was busted and
fragile so we decided to fix UWP at netstandard1.4 and redistribute the
RTM binaries within the package.

This change adds those UWP RTM binaries to the packages, reassigns any
contracts with new API to a higher netstandard version, and deletes all
the old "special packages".

This change also fixes up other contracts which were previously
providing a netcore50 implementation via netstandard1.5.


Commit migrated from https://github.com/dotnet/corefx/commit/d37bcde44ffb3425ce1046409708e1782d21b30d
2016-03-15 13:57:06 -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
stephentoub d5e591e45a Update packages to rc3-23910
Commit migrated from https://github.com/dotnet/corefx/commit/ab3948bfab039aac2afc1b521883425a171b982d
2016-03-10 09:37:40 -05:00
Eric St. John 04a73fbed6 Update packages to rc3-23908
Commit migrated from https://github.com/dotnet/corefx/commit/86a230845c4f1840dcb9b52165c6976fad5b5868
2016-03-08 08:46:50 -08:00
stephentoub 38f7d19954 Update packages to rc3-23907
Commit migrated from https://github.com/dotnet/corefx/commit/baed539ebb753fefc91da9870ddeee72df0a6e14
2016-03-07 10:12:40 -05:00
stephentoub f3434408bc Update xunit.netcore.extensions to 00187
Commit migrated from https://github.com/dotnet/corefx/commit/3cfd81e7369628d052da6367b28c6f5b5839f55d
2016-03-03 22:06:40 -05:00
stephentoub 9b4473ede7 Upgrade package versions to rc3-23901
Commit migrated from https://github.com/dotnet/corefx/commit/55246a7fc60807d021fded5e333784956a662a51
2016-03-02 07:40:12 -05: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
Pallavi Taneja 38e2f4de64 Update the packages
Commit migrated from https://github.com/dotnet/corefx/commit/be7151b45a54577c2e28c56977408d7d61ed0ea9
2016-02-29 13:09:16 -08:00
Eric St. John 5af200cd50 Rename "dotnet" to "NETStandard"
Fixes https://github.com/dotnet/corefx/issues/5707

We are changing the .NET packages to no longer use the ‘dotnet’, ‘dotnet5.x’, and ‘dnxcore50’ monikers.  This is thee first stage of the change for dotnet->netstandard.

The replacements are as follows

Old moniker | New moniker
----------------- | ------------------
dotnet5.x | netstandard1.y  (where y = x -1)
DNXCore50 | netstandardapp1.5
dotnet | netstandard1.3

To prepare for this change you can do the following to your project.json.  This change will require a recent build of NuGet or dotnet.exe and can be done prior to consuming the packages with the breaking change.  These packages will not work with DNX.

For a project targeting dotnet5.6
```
    "frameworks": {
        "netstandard1.5": {
            "imports": [ "dotnet5.6" ]
        }
    },
```

For a project targeting dnxcore50
```
    "frameworks": {
        "netstandardapp1.5": {
            "imports": [ "dnxcore50", "portable-net45+win8" ]
        }
    },
```

[tfs-changeset: 1578321]


Commit migrated from https://github.com/dotnet/corefx/commit/4435f9f2776ae007e05f4454675e56cf76a51975
2016-02-23 20:18:17 -08:00
Eric Mellino 803de07923 Consolidate all facade projects, cleanup project files
* Move all of the project configurations currently living in the
  "facade\<lib>.csproj" files into the root library project. This means
  there will now be only one project file for the source build of each
  library, regardless of how many configurations it has. The .builds file
  of each library will only reference that single project file multiple
  times.

* Do some minor cleanup of project files along the way. Fix up the VS
  default configuration blocks to be a bit more uniform. Remove redundant
  defaults (OutputType, PlatformTarget, etc. Fix some condition spacing.


Commit migrated from https://github.com/dotnet/corefx/commit/26edfd6839044ca6368e28502e0893c1b1819b4c
2016-02-22 11:11:10 -08:00
chcosta 749df4ae11 Merge pull request dotnet/corefx#6047 from chcosta/open_pkgs
Open package conversions for corefx.

Commit migrated from https://github.com/dotnet/corefx/commit/9bb70c2f02748b276c68f50119610a97992b2db5
2016-02-19 16:54:45 -08:00
Christopher Costa b7275a6e29 Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/7df55caaad1d1e21866ec31b0e7161db9ae2179c
2016-02-19 14:21:24 -08:00
stephentoub 25bba015df Fix a few argument exception parameter names
These were missed by my automated scan in replacing parameter names with nameof because they're the wrong name.  (There are some others that weren't replaced to, but most of those are because they're in private methods that use a different name for the argument, but the name used to the exception is the name in the publically exposed method... I didn't touch those.)


Commit migrated from https://github.com/dotnet/corefx/commit/95c0419f8cefb8e84eaecb4dacf08052312a5bb8
2016-02-19 15:34:37 -05:00
dotnet-bot b32ddb5d98 Deploy nameof throughout corefx in MemberData
Commit migrated from https://github.com/dotnet/corefx/commit/9c3156b9ada06b8e58ac53d48fc303500bf3e476
2016-02-18 23:58:15 -05:00
dotnet-bot 3184718282 Deploy nameof throughout corefx in exception construction
Mostly automated replacement of parameter name string literals with corresponding usage of nameof.


Commit migrated from https://github.com/dotnet/corefx/commit/396b41ddec99d01505c1bc4fa02fb0f0c5844990
2016-02-18 23:58:06 -05:00
Christopher Costa d95b14a3c4 Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/b70432898b7a00edb3303c0fbf4a1b98ebe442b4
2016-02-18 10:28:54 -08:00
stephentoub 95d7cc7534 Update packages to rc3-23818
Commit migrated from https://github.com/dotnet/corefx/commit/380a2ebf4a498f9ab0a819c71d8717377e601bfb
2016-02-18 07:28:09 -05:00
Christopher Costa 23ac6d7e8d Merge branch 'master' of https://github.com/dotnet/corefx into open_pkgs
Commit migrated from https://github.com/dotnet/corefx/commit/ddcd78f8f2ccd3debefefb5e10164d7a038bb7e0
2016-02-17 10:46:00 -08:00
stephentoub 180fba592f Update packages to rc3-23816
Commit migrated from https://github.com/dotnet/corefx/commit/c2e6426b9b9494d5478f656396f4da5711e8729a
2016-02-16 11:05:43 -05: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
stephentoub 685d9f5063 Add API review headers to ref files
Commit migrated from https://github.com/dotnet/corefx/commit/5240b324e50f9aabaa11d4b0c46acc34e370a724
2016-02-11 10:50:44 -05:00
Davis Goodin 1bc755f9e7 Adds custom xplat nuget that can restore from VSTS feed, adds the VSTS feed, and upgrades project.jsons throughout NDP\FxCore to pass new nuget compatability checks.
Some fixes (adding imports, adding Platforms package) were tooled, but more complex ones (forking project.jsons, editing csproj's) were not.

Also makes dependency version validation rules case-insensitive. (I used this fix to update the versions of some packages.)

[tfs-changeset: 1573868]


Commit migrated from https://github.com/dotnet/corefx/commit/84af04317505d48feaa1e83dd5dc27ddc0f6de76
2016-02-09 14:20:02 -08:00
Eric St. John 2e01c7eb9c Add packages for UWP 10 RTM - shared library
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
2016-02-03 11:28:37 -08:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
dagood e401efd6af Add portable-net45+win8 import to tests.
Specifically, add the import to dnxcore50 frameworks entries where "xunit" is mentioned in the project.json.
This fixes `xunit.abstractions 2.0.0 is not compatible with DNXCore,Version=v5.0.`


Commit migrated from https://github.com/dotnet/corefx/commit/da2e8eb34efcaf70069223bc431d80909a2fc91d
2016-01-12 14:04:32 -06:00
Stephen Toub dc4f6ac22a Merge pull request dotnet/corefx#5146 from justinvp/observablecollection_eventargscache
ObservableCollection<T>: Reuse immutable EventArgs objects

Commit migrated from https://github.com/dotnet/corefx/commit/ab48b6ace61c99b3939a79c77d66fd003432d1c7
2016-01-04 11:03:37 -05:00
Stephen Toub 041036d044 Merge pull request dotnet/corefx#5143 from justinvp/notifycollectionchanged_readonlylist
NotifyCollectionChangedEventArgs: seal internal ReadOnlyList

Commit migrated from https://github.com/dotnet/corefx/commit/0075494f8fede3b29667c113f485dd7fc63cf0c1
2016-01-04 09:57:58 -05:00
Wes Haggard a3e67fdf73 Update .builds files to include OSGroups
This these .builds files were updated and generated from a script
based on the configurations defined in the matching csproj files.

This updates the builds files to specify OSGroup and TargetGroup
as metadata instead of using AdditionalProperties and also sorts them by
TargetGroup followed by OSGroup.


Commit migrated from https://github.com/dotnet/corefx/commit/95efe37475916016a5fc6ee6f0ba584d990c4196
2016-01-02 23:50:23 -08:00
Wes Haggard f27c7dc024 Update project files adding default configurations
This add a default configuration before the Import of dirs.props
for any projects that don't have Debug as the default configuration.

Removed Configuration and Platform properties set after dirs.props
as they would have no affect and just cause confusion.

Removed OutputType=Library property as it isn't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/9e1da13cf6d5ff4b37b1867beb3411a2fe61da6a
2016-01-02 23:50:21 -08:00
Justin Van Patten 530997bd12 ObservableCollection: Reuse immutable EventArgs objects
Instead of always allocating new instances of
PropertyChangedEventArgs for the Count and Indexer properties and
NotifyCollectionChangedEventArgs for
NotifyCollectionChangedAction.Reset, reuse cached instances.


Commit migrated from https://github.com/dotnet/corefx/commit/8cc2b699b08e3b7a50148f56f7c2f2bc85fde25f
2015-12-29 16:18:14 -08:00
Justin Van Patten ae5c92bf52 NotifyCollectionChangedEventArgs: seal internal ReadOnlyList
The internal ReadOnlyList used by NotifyCollectionChangedEventArgs
has all virtual members that don't need to be virtual. This commit
makes ReadOnlyList sealed and includes some minor cleanup (parameter
names to match the interfaces, Debug.Assert, and Object -> object).


Commit migrated from https://github.com/dotnet/corefx/commit/41a1e8b61456644cc6ca58654e06f8a6ba9039f9
2015-12-29 14:06:44 -08:00
Jan Kotas a2a7ad6875 Include the key in the "duplicate key" exception message
Port https://github.com/dotnet/coreclr/pull/1452 to CoreRT/.NET Native clone of Dictionary, as well as other collections implemented in System.Collections.dll.


Commit migrated from https://github.com/dotnet/corefx/commit/2b9eafc71c42ea5b423a924934b828168e240c9e
2015-12-27 05:15:51 -08:00
Eric Mellino b8670dea2f Add facade projects for all supported platforms
These facade project files were generated using a porting tool I wrote,
which examined some information from our internal build and created
appropriate project files. I have also re-generated all of the .builds
files so that they import the facade projects in the correct manner.


Commit migrated from https://github.com/dotnet/corefx/commit/58e2f6e862060039e1ebad727d75c87703fdb2f2
2015-12-10 10:29:09 -08:00
dagood fbfb82cc8c Change all project.json files to validate. Remove lockfiles from source control and add to gitignore.
A few new references to pick up changes that happened over time.


Commit migrated from https://github.com/dotnet/corefx/commit/0d881222d8c3269157639e2e67056e5a83aad834
2015-12-09 16:25:26 -06:00
Deepak Shankargouda f5284f6fcc Created initial set of .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/a20fd22b1e44d13e437c235a957a47a2af52838d
2015-12-02 14:38:03 -08:00
Stephen Toub 4397673e5f Merge pull request dotnet/corefx#4705 from justinvp/observablecollection_ctor
Optimize ObservableCollection<T>'s constructor

Commit migrated from https://github.com/dotnet/corefx/commit/836f0480afbfc8fe7555530c6d98f70873db8ae4
2015-11-28 12:40:11 -05:00
Stephen Toub c4f485b015 Merge pull request dotnet/corefx#4703 from justinvp/keyedcollection_enumallocs
Avoid enumerator allocations inside KeyedCollection<TKey, TItem>

Commit migrated from https://github.com/dotnet/corefx/commit/28c5498f89657cc94953bf67662805560fd681fd
2015-11-28 12:39:48 -05:00
Justin Van Patten 156e4078d4 Avoid enumerator allocations inside KeyedCollection
Methods on KeyedCollection<TKey, TItem> will internally loop over its
Items using foreach before the dictionary threshold is reached. Items
is a protected (non-virtual) property defined on the base
Collection<T> class and typed as IList<T>. This means
KeyedCollection<TKey, TValue> members like Contains and Item[TKey]
allocate an enumerator when looping over Items.

We can avoid the enumerator allocations inside
KeyedCollection<TKey, TValue> by providing a new private Items
property that is typed as List<T>, so that List<T>'s struct
enumerator is used, which also avoids interface dispatch.

KeyedCollection<TKey, TItem>'s constructors call the default
Collection<T> constructor which already initializes Items to
an instance of List<T>, so this change is just being explicit
about the use of List<T> for Items.


Commit migrated from https://github.com/dotnet/corefx/commit/75392f1aafd8498bca3dd54c9715a45348c61d84
2015-11-28 09:08:07 -08:00