Commit Graph
27 Commits
Author SHA1 Message Date
Wes Haggard aa2df8f523 Add Microsoft.TargetingPack.Private.* to the list of verified packages
Also updates all the package versions of the targeting pack to the latest


Commit migrated from https://github.com/dotnet/corefx/commit/a13a069c16fb6ed8bb6509a2d0a2f08d77a36b71
2016-01-23 19:32:40 -08:00
Wes Haggard e36a39d8eb Update configurations and use common metadata for csproj files
Commit migrated from https://github.com/dotnet/corefx/commit/05a42a3841b706e1bba6cbaeedd630baf3a1a394
2016-01-22 21:30:57 -08:00
Stephen Toub 6643dc9e03 Merge pull request dotnet/corefx#5329 from AlfredoMS/asyncbridge
Add missing code to remove tasks from active list and improve logging

Commit migrated from https://github.com/dotnet/corefx/commit/b529eedb08ebfb690557f3be3639390e8cafcbfc
2016-01-12 21:12:31 -05:00
Stephen Toub 351c4de906 Merge pull request dotnet/corefx#5298 from JonHanna/internal_iequatable
Performance improvements of Equals overrides.

Commit migrated from https://github.com/dotnet/corefx/commit/de220f34e77ed1028b6a0bc7606399fe520cacbe
2016-01-12 08:26:15 -05:00
Alfredo Menendez Sancho ed791d9c3e Add missing code to remove tasks from active list and make logging consistent
Commit migrated from https://github.com/dotnet/corefx/commit/7c7cec0b15806dc785d4861957026b621ef701d5
2016-01-11 22:59:29 -08:00
Jon Hanna 25eb33af77 Performance improvements of Equals overrides
Implement IEquatable<T> on internal class in System.Xml.XPath and DataContractSerialization.

Remove redundant null-checks in Equals that will just be checked again.

Do reference-equals test instead of both-null test.

  Same cost, and allows for short-circuit true in reference-equals case.

Remove redundant null-check before is check.

  Will return false on null anyway.

Unbox to local variable rather than unboxing twice.

Use as-and-null-test instead of is followed by cast.


Commit migrated from https://github.com/dotnet/corefx/commit/3457816c8ad189c8b74684a99e7a606d5c579a85
2016-01-11 16:51:53 +00:00
Wes Haggard 5ee0ecd355 Update some project references to align their configurations
A number of ProjectReferences were not configured correctly and as
such causes some race conditions because multiple projects with different
global properties, but with the same ConfigurationGroup, OSGroup, or TargetGroup,
were building at the same time in parallel which means they stomped on each other.


Commit migrated from https://github.com/dotnet/corefx/commit/25cd2c13009f3561fed1cccf96a7b296c39dd6c2
2016-01-10 21:52:43 -08: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
Wes Haggard d466adbd9b Port System.Private.Uri project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/2fa57bf1e9b983339d0ec34356c5ac8ed0370561
2015-12-29 20:34:04 -08:00
Eric StJohn 123aebc272 Merge pull request dotnet/corefx#5092 from dsgouda/System.Runtime.WindowsRuntime
Fixing netcore50aot builds for System.Runtime.WindowsRuntime

Commit migrated from https://github.com/dotnet/corefx/commit/67c4c6cea59543cbed7dca4cdaa0d4dde976b119
2015-12-22 14:44:41 -08:00
Deepak Shankargouda bd96795fa3 Addressed PR comments
Commit migrated from https://github.com/dotnet/corefx/commit/7682292272cb156d3a31e8db6505584daf5cfc04
2015-12-22 10:39:39 -08:00
Wes Haggard d346be5565 Enable building of System.Runtime.WindowsRuntime reference assembly
Added Microsoft.TargetingPack.Private.WinRT for windows.winmd and
Microsoft.NETCore.Portable.Compatibility for mscorlib.dll facade.


Commit migrated from https://github.com/dotnet/corefx/commit/1c4f7daf354654f175dafa27fbd44269a172c585
2015-12-21 20:01:31 -08:00
Deepak Shankargouda 8429bf2b50 Fixing netcore50aot builds for System.Runtime.WindowsRuntime
Commit migrated from https://github.com/dotnet/corefx/commit/fa0d51ee62824d8a2b8b2fea45600c6affbd212d
2015-12-21 17:02:34 -08:00
Wes Haggard 31f1a7b250 Merge pull request dotnet/corefx#5070 from dsgouda/System.Runtime.WindowsRuntime
Porting System.runtime.windowsruntime lib

Commit migrated from https://github.com/dotnet/corefx/commit/cf17ff1d110b9984e63a1825b3d012c8002a8a3b
2015-12-18 20:15:07 -08:00
Deepak Shankargouda ea12d9a795 Added TargetPackageRuntime=win8
Commit migrated from https://github.com/dotnet/corefx/commit/834aaaeb8168d4d3d6b7bb76ebb1276bd293673a
2015-12-18 16:34:50 -08:00
Deepak Shankargouda 81c5a90948 CodeFormatter changes and code cleanup
Commit migrated from https://github.com/dotnet/corefx/commit/07e60628087861f0810aa6b7f4168f36645df969
2015-12-18 15:54:26 -08:00
Deepak Shankargouda c070403a3e Porting System.Runtime.WindowsRuntime
Commit migrated from https://github.com/dotnet/corefx/commit/e842c9ae7f2415d2adb6681923b4292c5dd39dc4
2015-12-18 15:53:44 -08:00
dotnet-bot 09ea4f14b2 [WesH/EricStJ] Fix a few more packaging build breaks from recent changes.
[tfs-changeset: 1558643]


Commit migrated from https://github.com/dotnet/corefx/commit/2e35b987eb9a3288b232e4091531f100f5eee694
2015-12-17 14:00:37 -08:00
dotnet-bot 0fb9aa8463 [WesH] Bump up the generation of System.Runtime.WindowsRuntime to 5.4 to workaround a validation bug that sees Windows.winmd as being part of that generation.
[tfs-changeset: 1558575]


Commit migrated from https://github.com/dotnet/corefx/commit/124df235284a2a5f516e2bb4480c678978676b86
2015-12-17 08:45:02 -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
Eric St. John 8cc3c24b51 Update lock files that were missed in previous restore.
A change was made to DNX to no longer restore project.jsons
that are in nested folders.  This caused my batch update to miss
a number of tests and reference assembly projects.

This fixes the stale lock files, but restore is still broken.

[tfs-changeset: 1540448]


Commit migrated from https://github.com/dotnet/corefx/commit/3622cccc1b22fa1947a72d5126b59864e9d2fd0d
2015-10-21 18:59:09 -07:00
Eric St. John 543808303a Update dnx to v1.0.0-rc1-15838, update dotnet projects to generations
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
2015-10-21 17:03:48 -07:00
Eric St. John 8cd3109d56 Switch from using "dotnet" to using "dotnet<generation>"
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
2015-10-18 21:12:23 -07:00
Matt Ellis f090d33600 Don't override dir.props' ECMA Key setting
Due to https://github.com/dotnet/roslyn/issues/2444, we have disabled
ECMA signing when the host platform for our build is not Windows. This
is done by explicitly setting the property in our top level dir.props.
Some of the reference assemblies explicitly set UseECMAKey to true,
overwriting this value which leads to build breaks when building on non
Windows platforms.

Guard the setting of this property so that we don't override it if it
already set.

Fixes dotnet/corefx#3739


Commit migrated from https://github.com/dotnet/corefx/commit/11395b20dac9dff22be141b2a78c394268ab146e
2015-10-13 18:22:19 -07:00
Alexander Köplinger 3e20a867b2 Update build to use DNX beta7 instead of beta5
The corefx build used an older beta5 version of DNX which hardcoded the path to bash in dnu, breaking the build on FreeBSD.
Updating DNX to the latest "stable" beta7 release fixes this.

After updating I noticed a few test projects didn't build anymore as they were missing some dependencies in project.json, added those.

Fixes dotnet/corefx#3173


Commit migrated from https://github.com/dotnet/corefx/commit/6df77fdbb6cf8e0d35a3074bb325f7810085daa3
2015-09-16 02:12:26 +02:00
Eric St. John 77309d4821 Update the version of all assemblies
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
2015-08-13 17:07:57 -07:00