Commit Graph
26 Commits
Author SHA1 Message Date
Eric St. John 25092c6557 Replace source projects with depprojs
Now that we have stable packages we can redistribute the previously
built binaries rather than rebuilding them.

Also cleaning up some unused projects.

[tfs-changeset: 1614403]


Commit migrated from https://github.com/dotnet/corefx/commit/9eb1e7d6939c79459e84651a69c03a11887ff9f5
2016-06-23 07:49:39 -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 Mellino 8f6ec53f39 Fix project.json and csproj errors noticed by ericstj
Commit migrated from https://github.com/dotnet/corefx/commit/677ffb86351f93b5017beeddab1ca91821abaf79
2016-04-12 07:13:55 -07:00
Eric Mellino f57a495784 Overhaul usage of test-runtime.
This change uses some features available in an updated version of
buildtools. Instead of resolving the test-runtime for each of our test
projects as a separate step, we will now add a "reference" to it from the
project.json of each test project. This will allow us to resolve the nuget
assets from both it and the test project at the same time. This will be
more robust than our current process, which is very fragile and
error-prone.

The above is made possible by an updated version of
"PrereleaseResolveNuGetPackageAssets", which is the buildtools task
responsible for resolving test assets from nuget packages. This task also
has a lot of additional validation, which triggers a lot of warnings in
corefx. I've made various changes to csproj's and to project.json's around
the repository in order to satisfy those warnings.


Commit migrated from https://github.com/dotnet/corefx/commit/622ee8f512497fc07621de15e41c6bd575f387c9
2016-04-12 07:12:36 -07:00
Pallavi Taneja ce328c6760 Expose MemberInfo.MetadataToken
Commit migrated from https://github.com/dotnet/corefx/commit/87ebe10aa56fa449ed9fb82b1cd4b8a11c76254f
2016-03-22 16:38:57 -07:00
Eric St. John 7751e5e059 Fix System.Reflection netcore40 to 4.0.10
Bump new surface area to NETStandard1.5 and redistribute the netcore50
implementation assemblies from UWP RTM.


Commit migrated from https://github.com/dotnet/corefx/commit/f0e78ccb23765c4a807860fcafe0453f42323565
2016-03-15 13:57:10 -07:00
Pallavi Taneja b5d32b998e Update System.Reflection contract
Commit migrated from https://github.com/dotnet/corefx/commit/9a2ac92ae26bc16f28b27253741af11d9d0e466b
2016-03-11 14:06:11 -08:00
Pallavi Taneja c7b15aaf09 Incorporate feedback comments
Commit migrated from https://github.com/dotnet/corefx/commit/df28370ac026d21df78f4b71d26214048f812fa5
2016-03-10 13:19:48 -08:00
Pallavi Taneja 60a4abe55d Expose APIs for System.Reflection
Expose APIs for the following types.
	a. Assembly
	b. ConstructorInfo
	c. CustomAttributeData
	d. CustomAttributeNamedData
	e. CustomAttributeTypedArgument
	f. EventInfo
	g. FieldInfo
	i. InvalidFilterCriteriaException
	j. Module
	k. ParameterInfo
	i. PropertyInfo
	j. TargetException


Commit migrated from https://github.com/dotnet/corefx/commit/c464333fdabcd7f7e7ebe9e87756b66f97f36faa
2016-03-10 12:03:08 -08:00
Pallavi Taneja 023592d559 Expose MethodInfo methods in System.Reflection
Commit migrated from https://github.com/dotnet/corefx/commit/7c9209ca662271f32f8ead65abf24eea0348e065
2016-02-29 17:13:31 -08:00
Pallavi Taneja 5af3f020dd Expose System.Reflection.TypeInfo APIs.
Commit migrated from https://github.com/dotnet/corefx/commit/1f2632f15859e293865ca14f8da882be26dcfbac
2016-02-29 14:10:50 -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
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
Pallavi Taneja 95a3b67166 Expose Assembly.GetEntryAssembly and TypeInfo.IsEquivalentTo()
Expose Assembly.GetEntryAssembly and TypeInfo.IsEquivalentTo() in System.Reflection.
Fixes issues dotnet/corefx#4146 , dotnet/corefx#2101


Commit migrated from https://github.com/dotnet/corefx/commit/e28fdbd9dd98810a81207c665fdc4e6b40b24e64
2015-12-21 14:56:26 -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 1cd121b072 Refine package validation for generations
When calculating generations I wasn't considering transient
dependencies.  I was assuming that if a dependency wasn't
tracked by generations it wouldn't impact the generation
of the depender.  That was incorrect since every assembly
effectively has a generation.  This updates the algorithm to
walk the entire dependency graph when calculating the generation

I also wasn't validating support for targeting generations: PCLs
consuming the packages.  I was only testing for specific
platforms.   I added validation for generation monikers and
derived the support matrix for these from the specific platforms.

This uncovered a handful of bugs which I have fixed.

[tfs-changeset: 1540300]


Commit migrated from https://github.com/dotnet/corefx/commit/8d609579a4ef3127372400faa664796c1435d634
2015-10-21 14:42:53 -07:00
Nick Guerrera 7cc61e89cc Expose Assembly.EntryPoint via public contract
Commit migrated from https://github.com/dotnet/corefx/commit/b1c56d3723e12c9c8ff0fd557631af3028036706
2015-10-20 15:34:59 -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
Nick Guerrera 586e3eaa72 Expose Assembly.Location via public contract
Commit migrated from https://github.com/dotnet/corefx/commit/c57eba5bc806f85b597319af92e7144c32bf3fc1
2015-10-16 11:54:13 -07:00
Eric St. John 295123cf68 Add deployment projects for past reference assemblies.
Commit migrated from https://github.com/dotnet/corefx/commit/0544bfef70ed304f6ce079e42466f8974d13afa0
2015-10-06 10:58:01 -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
Pallavi Taneja db0b5fdbdc Expose TypeInfo.IsCOMObject on ProjectN. I have also added some additional tests and put gates in place to ensure that the tests do not run on Win7 (WinRT types can't be loaded on win7).
[tfs-changeset: 1518607]


Commit migrated from https://github.com/dotnet/corefx/commit/9a2642d41559396fdee2b9d5ca1c7fce8205e451
2015-08-25 12:32:15 -07: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