Commit Graph
50 Commits
Author SHA1 Message Date
Eric Mellino 966c8e0251 [dev/eng] Overhaul ref and src project references, and start binplacing things (dotnet/corefx#14062)
* Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref

* Update refs to build with ProjectReference's instead of package references

This deletes all the ref\project.json files and instead adds ProjectReference
to other refs that are used to build.

There is only one exception which was System.Net.Http which needed a project.json
to get the net46 targeting pack otherwise everything else is P2P.

* Update Reflection.Emit contracts to support latest version of contracts

* Add depproj to get windows.winmd support when building refs

* Special handle System.Net.Http ref project to deal with net46 targeting pack

* Moved CLSCompliant to SecureString ctor instead of type

* Add P2P reference from S.IO -> S.R.Extensions

* Add additional ProjectReferences to more ref projects after master rebase

* Start binplacing ref assemblies and disable rest of build

* Simplify all ref projects to only build for netcoreapp (default target group)

* Only binplace netcoreapp refs

* Allow Reference's to be resolved from targeting pack directories

* Use GenerateBuilds.ps1 to convert src project.json refs to References

* Allow overriding stuff in Tools

* System.Runtime src project building against targeting pack

* Re-purpose GenerateBuilds.ps1 to re-write src references

* Only build csproj files in src.builds

* More custom stuff in GenerateBuilds.ps1

* Binplace all netstandard assemblies into netcoreapp as well.

* Add project.json to System.Collections.Immutable

* More custom generatebuilds.ps1 stuff

* Normalize csproj files before running GenerateBuilds.ps1

* Better match the replaced  'None Include="project.json"' line.

* Another missing project.json inclusion in csproj

* Remove ExcludeFromCodeCoverageAttribute from Immutable project

* Include another project.json

* Add some P2P references

* Add another project.json include

* Disable Http.Rtc project.

* Disable two more UWP projects and another P2P ref"

* More Cleanup

* Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s

* Binplace netstandard runtime assemblies to netcoreapp as well.

* Re-hook all src projects into build.proj

* Fix bin clashing caused by bad ProjectReference metadata

* Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well.

* Correct casing of windows.winmd in depproj

* Disable System.Memory.csproj outside of Windows

* Fix unix exclusion of System.Memory, and include vbproj files

* Fix VisualBasic compilation

* There was an extra definition of MemberTypes that was internal to the
  assembly. It's now defined in System.Private.CoreLib, so I deleted the
  extra here.
* There was an invalid call in Operators.vb that I fixed.

* Add additional project references and configuration fixes after rebase

* Fix build warnings in ref projects

* Fix build warnings in src projects


Commit migrated from https://github.com/dotnet/corefx/commit/a9f6d7d749f9946cc6b10c50b54bcae0e43e859e
2016-11-29 18:01:35 -08:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00
dotnet-bot f016cc9f63 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24716-02, beta-24715-03, beta-24716-00, beta-24716-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/75c2a6a9154044fe61e913db297e34a47f588994
2016-11-16 09:23:13 +00:00
Stephen Toub 482458afd0 Update CoreFx, External, ProjectNTfs to beta-24715-02, beta-24715-00, beta-24715-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/9e8050a2bdca9aeff16bd8e704f380e86813821d
2016-11-15 11:43:51 -05:00
dotnet-bot bb01d482d2 Update CoreFx, ProjectNTfs to beta-24714-01, beta-24714-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3342536d369d922f14cc1a9c0fb91b4440a6967e
2016-11-14 15:46:09 +00:00
dotnet-bot a02764567f Update CoreFx to beta-24711-02
Commit migrated from https://github.com/dotnet/corefx/commit/3709a83afb9ffb8aa05b6c6f5561859527226595
2016-11-11 15:52:34 +00:00
dotnet-bot b9b36cbb7a Update CoreFx, External, ProjectNTfs to beta-24711-01, beta-24711-00, beta-24711-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2ab7ba374f98bb0c3785435169d9b568c5f24eba
2016-11-11 06:19:20 +00:00
dotnet-bot d1fb8ddc0f Update CoreFx, External, ProjectNTfs to beta-24710-01, beta-24710-00, beta-24710-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0a2361383fda2720c5eada8c80d24850a9d61246
2016-11-10 14:31:27 -08:00
dotnet-bot c5bd931c2d Update CoreFx to beta-24709-02
Commit migrated from https://github.com/dotnet/corefx/commit/68a1670fc7b9c9419f5d3100ac9a4347874aeef8
2016-11-09 15:38:49 +00:00
dotnet-bot d6f29b0517 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24709-02, beta-24709-01, beta-24709-00, beta-24709-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8a5167a13e1ae72cff71285c49f5f84e10a64248
2016-11-09 09:19:32 +00:00
dotnet-bot c561086403 Update CoreClr, CoreFx to beta-24709-01, beta-24708-05, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bafbeec4841285834d31bee295c225a61de2b780
2016-11-09 01:10:38 +00:00
Stephen Toub 27794c3e5c Update corefx to beta-24708-03
Commit migrated from https://github.com/dotnet/corefx/commit/9f9c2885208315215b7e328ea399f13c83d1b8a7
2016-11-08 17:10:15 -05:00
dotnet-bot b740f1d2bd Update CoreClr, CoreFx, External, ProjectNTfs to beta-24708-02, beta-24707-01, beta-24708-00, beta-24708-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b255d0bf4df94eb383c1bb4b42b1bfe9b64f3238
2016-11-08 17:07:45 -05:00
dotnet-bot d63a7b41df Update CoreFx to beta-24705-01
Commit migrated from https://github.com/dotnet/corefx/commit/c7603507fe200426130f10d6b2cc67dfeda2c83f
2016-11-05 02:22:03 +00:00
dotnet-bot 540789c36c Update CoreClr, CoreFx, External, ProjectNTfs to beta-24704-04, beta-24704-03, beta-24704-00, beta-24704-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d75d49704cffb9652304a357750d7f3f357be6fc
2016-11-05 00:21:20 +00:00
Jose Perez Rodriguez 2db115c87d Updating corefx versions to beta-24703-01
Commit migrated from https://github.com/dotnet/corefx/commit/39b5977106283eb0017dbc43af7f4d6b195753b1
2016-11-03 10:23:38 -07:00
Stephen Toub 4ee10f7b6c Update CoreFx, ProjectNTfs to beta-24701-01, beta-24701-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/1b2b88d11c6b0d226481c96b1a88d20bb8cefaf9
2016-11-01 19:42:30 -04:00
Stephen Toub 5f0b53cb3c Update CoreFx to beta-24629-01 (master)
Commit migrated from https://github.com/dotnet/corefx/commit/63a1dbe34233c086f7fc6d28b1fefecfefc822ed
2016-10-29 22:41:56 -04:00
dotnet-bot ad2c08f972 Update CoreFx to beta-24628-03
Commit migrated from https://github.com/dotnet/corefx/commit/e634b174854638f226c81ebd5a2b6d22afca83de
2016-10-28 19:01:25 +00:00
dotnet-bot 519246eb66 Update CoreClr, CoreFx to beta-24628-03, beta-24628-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/56c61a5a1158ef9f1c84c87442f39015d9042491
2016-10-28 16:27:01 +00:00
dotnet-bot 5eb2424d89 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24628-02, beta-24628-01, beta-24628-00, beta-24628-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/56b92839e58ab41582e98eaf87452ec4b50712b4
2016-10-28 09:16:27 +00:00
dotnet-bot 4ed327f131 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24627-05, beta-24627-05, beta-24627-00, beta-24627-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b030c0a58466c70ca34b56933903b31e580e6189
2016-10-27 22:28:54 +00:00
dotnet-bot a196fb6572 Update CoreFx to beta-24626-02
Commit migrated from https://github.com/dotnet/corefx/commit/ffd454cef1f7dd4a2f6969747cf45a4729e6387c
2016-10-26 14:46:03 +00:00
dotnet-bot de5dd7cba0 Update CoreClr, CoreFx, ProjectNTfs to beta-24626-01, beta-24625-02, beta-24625-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ff859b462ada317c02c96b93918ec0e2d072459e
2016-10-26 00:20:25 +00:00
dotnet-bot b943e5d281 Update CoreClr, CoreFx, External to beta-24625-02, beta-24625-01, beta-24625-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/e1bdcc213a47f4761a6a46e8e0d612d7bc237c9a
2016-10-25 08:19:47 +00:00
Jose Perez Rodriguez 132e478c7b Updating Corefx versions to beta-24624-01
Commit migrated from https://github.com/dotnet/corefx/commit/cd40177af397e309c41f2bbcec007e21761bb688
2016-10-24 12:01:45 -07:00
Stephen Toub 344ae45288 Update CoreFx dependencies to beta-24623-01
Commit migrated from https://github.com/dotnet/corefx/commit/617811c779e36848fb1af4c2e8d8b3b1dba42e83
2016-10-23 11:50:14 -04:00
Eric St. John 4a6c9bbb81 Update all projects to last stable packages
And remove imports.

Now that we have netstandard packages that support all targets we should
use them.  This means we don't need imports.

I opted to use the stable packages rather than the LKG ones since this
will reduce churn in the product assemblies.

This has the added benefit of reducing download time for the repo.


Commit migrated from https://github.com/dotnet/corefx/commit/a330f3651c999b241d55ca25d9baa7fb0f247c5c
2016-10-21 06:32:53 -07:00
Stephen Toub 5d5d55e507 Merge pull request dotnet/corefx#12826 from stephentoub/update_dependencies
Update CoreFx to beta-24619-02 (master)

Commit migrated from https://github.com/dotnet/corefx/commit/9bad9e2c4710baedecad20d8821ff1a817ceb5c7
2016-10-20 07:09:39 -04:00
Santiago Fernandez Madero a4bc3cea20 Adding MarshalByRefObject base class to types. (dotnet/corefx#12773)
* Adding MarshalByRefObject base class to types.

Commit migrated from https://github.com/dotnet/corefx/commit/93826ebec41822c49b833f56b4707f1c80b55659
2016-10-19 23:52:35 -07:00
Stephen Toub fc416399f6 Update CoreFx to beta-24619-02 (master)
Commit migrated from https://github.com/dotnet/corefx/commit/85567505126195558e104adec718be1d6325e43f
2016-10-20 00:13:39 -04:00
dotnet-bot 94f229c6a7 Update CoreClr, CoreFx to beta-24617-03, beta-24617-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4c6df2edbad3b5d8ec3914c0366f80ebb73f7c12
2016-10-18 08:43:24 -04:00
dotnet-bot 7b31a1e04a Update CoreClr, CoreFx, External to beta-24615-02, beta-24615-03, beta-24614-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/025cec5bf1e82980a77e473f2e5d599ffd60af49
2016-10-15 08:33:01 +00:00
Stephen Toub 52e3c3d7ae Change all refs to use "throw null;" as member bodies
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter).  I made the change programatically using a simple Roslyn-based tool.


Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
2016-10-13 09:43:23 -04:00
dotnet-bot 511149ab83 Update CoreClr, CoreFx, External to beta-24613-02, beta-24613-01, beta-24613-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8f355c66ac9adbf9f36cfdd019ba1d2cefb54001
2016-10-13 08:37:30 +00:00
Koundinya Veluri 0dd80e4488 Expose some missing threading types/members (Timer, exceptions, etc.) (dotnet/corefx#12392)
- Expose: Timer members, some exception types and members, ThreadExceptionEventArgs/Handler, Monitor.Wait with exitContext parameter
- Move CriticalHandle and remaining types from System.Runtime.Handles to System.Runtime, expose CriticalHandle[ZeroOr]MinusOneIsInvalid
- Revert base class of safe handle types that used to derive from SafeHandle[ZeroOr]MinusOneIsInvalid, and upgrade those projects to ns1.7

Commit migrated from https://github.com/dotnet/corefx/commit/de8eee4b26f5154698fddcd150a4c7487a69da64
2016-10-12 18:31:26 -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 e6e5ed7c59 Remove PackageTargetFramework usage
Commit migrated from https://github.com/dotnet/corefx/commit/c3042ed04fa3a246c544a7ead7d564b1d43e9862
2016-08-30 15:30:50 -07:00
dotnet-bot db4ee53f21 Update CoreClr, CoreFx to beta-24411-03, beta-24411-04, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/84eb45211315432baf3e63089272d7d5e484eb2c
2016-08-12 00:09:45 +00: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
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
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
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 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 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
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