Commit Graph
319 Commits
Author SHA1 Message Date
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Marco Rossignoli 4110b40d54 Replace files with CoreLib mirror (<30% differences) (dotnet/corefx#29433)
* remove duplicates

* remove unused Interop.GetFullPathNameW.cs

* revert TupleExtensions.cs for netfx incompatibility

* replace coreclr merged

* replace constants conflicts


Commit migrated from https://github.com/dotnet/corefx/commit/5168f541d4def7c54e490a685ff5dc0e3f90e91a
2018-05-02 06:51:46 -07:00
Wes Haggard b77d5be997 Fix package validation issues after version changes
Move private netcoreapp package to 2.2

Update package index to have the new inbox versions for
netcoreapp2.2 and uapvnext


Commit migrated from https://github.com/dotnet/corefx/commit/241403223aa5ffde3057c435070d2e0c88861657
2018-04-27 14:56:20 -07:00
Wes Haggard fc526e8605 Bump assembly versions for libraries with packages
Commit migrated from https://github.com/dotnet/corefx/commit/6a1b5c0aeee747a535579da7374c05b8d878fb65
2018-04-27 14:56:18 -07:00
Jose Perez Rodriguez 2b978b922f Updating the package index for UAP and updating buildtools (dotnet/corefx#27787)
* Updating the package index for UAP and updating buildtools

* Having System.Reflection.DispatchProxy crosscompile for uap RS3

* Updating buildtools and fixing PR feedback

* Re-add support for uap to the assemblies that already had a netcoreapp2.0 config for Windows


Commit migrated from https://github.com/dotnet/corefx/commit/7be44d2de8661cd925955e540d940b4eb47e5753
2018-03-08 09:43:06 -08:00
Santiago Fernandez Madero b9d768589e Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)
* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well


Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -07:00
Wes Haggard e7ae1ad2c0 Update SupportedFrameworks to netcoreapp2.1 for some packages
Commit migrated from https://github.com/dotnet/corefx/commit/a4364b283016758aff4d8ea162e6e8c550e2da6f
2017-10-16 11:46:43 -07:00
Eric St. John 6c5a247c17 Fix library packages overlapping with framework packages
Many library packages overlap with assemblies we include in our framework packages.

In the first release we handled this by preventing the library package from applying any
assets.

This becomes problematic if the reference assembly needs to version, and especially
if the library wants to add API.  The new version will be greater than what was previously
shipped inbox, and we wouldn't want to restrict the new version just to future TFMs.

To address this problem I've made a couple fixes:
1. For packages which are shipping brand new API that's not present in desktop, we'll
omit any placeholders and allow conflict resolution to decide if the library package
or framework package should be used (based on version).  In some cases this required
bringing some configurations into the package so that it could always be "up to date".

2. For packages which are just exposing API in desktop, and thus already tied/anchored
to netstandard versions, we'll freeze the reference assembly version for the non-desktop
builds.  This ensures that the reference assembly will never move past the version that's
inbox in the framework package.

Update BuildToolsVersion to 2.0.0-prerelease-01931-01


Commit migrated from https://github.com/dotnet/corefx/commit/7ee51be7ed472a12266c8cc2ab25a9e1862c1d00
2017-09-01 09:01:41 -07:00
Eric St. John 20a117e4cc Remove NetFx support libs
Now that we've shipped the NETStandard support package we will no longer build its content
from `master`.

It will be serviced from the `release/2.0.0` branch and the only netfx builds in `master` will
correspond to package content.


Commit migrated from https://github.com/dotnet/corefx/commit/eade3b36725c8d463a40589ff749af5bb0cab8f4
2017-08-29 08:46:22 -07:00
Tarek Mahmoud Sayed 3765a6069b Moving PlatformDetection to Corefx.Private.TestUtilities assembly (dotnet/corefx#23109)
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly

The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.

* Fix Linux BB

* Update the xunit package reference

* Fix wrong condition on one of the tests

* Update the ConditionalFact/Theory to use Type as a parameter


Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Jose Perez Rodriguez 370b49763c Merge pull request dotnet/corefx#21836 from joperezr/uapvnext
Renaming uap10.1 to uap10.0.15138

Commit migrated from https://github.com/dotnet/corefx/commit/32f3e82596c8c35691b7cdbf1a27e27784acc652
2017-07-03 15:41:09 -07:00
Jose Perez Rodriguez c9a146ca2a Renaming uap10.1 to uap10.0.15138
Commit migrated from https://github.com/dotnet/corefx/commit/60fe0c60dc418a6856955c215a9695f6f900acf1
2017-07-03 14:32:24 -07:00
Hugh Bellamy 98b18432b7 Move AssertExtensions to Corefx.Private.TestUtilities (dotnet/corefx#21799)
* Move AssertExtensions to Corefx.Private.TestUtilities

* Update csprojs

* Fix Linq.Expressions uapaot build


Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07:00
Hugh Bellamy 7cbcd5ed85 Convert most Assert.Throws<ArgumentException> without param name to AssertExtensions (dotnet/corefx#21455)
* Registry

* Collections

* ComponentModel

* Configuration

* Data

* Globalization

* Drawing

* Diagnostics

* IO

* Linq

* Add System.Net param names in tests

* Move ArgumentExceptions in System.Private.Xml to AssertExtensions

* Add System.Reflection.* ArgumentException param names

* Add param names for System.Runtime* ArgumentExceptions

* Add ArgumentException param names to System.Security.*

* Add ArgumentException param names to System.Text.*

* Add param names to ArgumentExceptions in misc projects

* Add System.Threading.* ArgumentException param names

* Fix missing files

* Fixes for unix and netfx

* Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with dotnet/corefx#21463


Commit migrated from https://github.com/dotnet/corefx/commit/59915687bb261efeae70565d0ca8990ac45ceb9c
2017-06-23 12:33:47 -07:00
Andrew d38302e6cd Update ValueTuple.cs
Fix mistake in summary.

Commit migrated from https://github.com/dotnet/corefx/commit/08f8665476e8f686bf872889a796b11dc6ed4a32
2017-05-22 11:22:29 +03:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Eric St. John 16a5f3dd86 Treat ValueTuple inbox on netstandard2.0 in nupkg
This is necessary to avoid type conflicts.


Commit migrated from https://github.com/dotnet/corefx/commit/15d74f5613db8c07ac21405d88443c3f4cc6023c
2017-05-09 12:53:26 -07:00
Anatoly Zhmur 1257153744 Caching EqualityComparer<T>.Default instances in ValueTuple (dotnet/corefx#19332)
Merging on behalf of @azhmur
Thanks!

Commit migrated from https://github.com/dotnet/corefx/commit/c2a5cbf39f7e9a9b61b11eb0a67461e678fd5d7f
2017-05-08 16:41:24 -07:00
Dan Moseley a139bc0b0f Skip verifying stack on full framework (dotnet/corefx#19182)
* Skip test on netfx

* Fix build

* build2

* build3


Commit migrated from https://github.com/dotnet/corefx/commit/a3c6ed02c6baf04019b73f56068a9687ea51702f
2017-05-01 14:23:56 -07:00
Julien Couvreur 7ca93edf09 Adding type-forwards for ValueTuple to desktop 4.7 (dotnet/corefx#18519)
Commit migrated from https://github.com/dotnet/corefx/commit/82a26c8d9f2065a5f4e91c6b09549edcbf1ae625
2017-04-20 13:44:14 -07:00
Eric St. John 08a06887a3 Re-enable package validation and clean up package content
Commit migrated from https://github.com/dotnet/corefx/commit/72002dbb7e3e657adaeb002feca0399d9667a54b
2017-04-18 13:28:50 -07:00
Eric St. John 30b972e1b2 Add NETStandard.Library.NETFramework package
This package is a support package for NETStandard2.0 on .NET 4.6.1.


Commit migrated from https://github.com/dotnet/corefx/commit/796a4b6af55c9ff548e172a943b9af737706fe2b
2017-04-12 13:42:52 -07:00
Eric St. John 439bb573b4 Update project build configurations
Commit migrated from https://github.com/dotnet/corefx/commit/5635b57b487454f47fccae8aad3a53640d47b0c3
2017-04-12 13:42:51 -07:00
Eric St. John 91d958f2aa Add netfx configurations for libs in NETStandard
For any libary that is part of netstandard and needs to either add types
to desktop or satisfy a higher assembly version that we previously
shipped, ensure we have both a netfx ref and src build.

The ref build is required because previously we were using the src build
(partial facade) as both ref and lib.  This is problematic because we
need to build the full netstandard.dll facade before building src
projects.  Ensuring a ref build also helps reduce package size since we
don't end up shipping the partial facade implementation in ref.

Src build has been added where it wasn't already present to fill in the
missing types, members, or satisfy the previously shipped assembly
version in netstandard1.x.


Commit migrated from https://github.com/dotnet/corefx/commit/45b4c71bff924245d8962035bd751d65c45bf31d
2017-04-12 13:42:50 -07:00
Santiago Fernandez Madero e8d33f6b0c Add netfx to ValueTuple ref contract (dotnet/corefx#18232)
Commit migrated from https://github.com/dotnet/corefx/commit/7b894ddfd1ae1d2d26b5b7ffc5d7273aaad2948c
2017-04-11 16:31:32 -07:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Krzysztof Wicher 846f8fe66c Update VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/f2e62cdf9aa55d0c766069e0c4eb8e82b87fb991
2017-04-06 11:38:38 -07:00
Wes Haggard 404ae55625 Add System.ValueTuple into the platform packages
Commit migrated from https://github.com/dotnet/corefx/commit/54834bdd2a88ab294c45b95c2e5394d4fa6fb9d7
2017-04-05 10:17:35 -07:00
Wes Haggard 47fbeb7469 Add netfx configuration for System.ValueTuple project
Commit migrated from https://github.com/dotnet/corefx/commit/1413fb34a95ba068b8dec05c4ee143eb0990119f
2017-04-04 13:26:15 -07:00
Wes Haggard 6eabad0ea4 Refresh VS project configurations.
Commit migrated from https://github.com/dotnet/corefx/commit/056f9d36180fba31b011566c178bf357547e0793
2017-04-04 12:59:25 -07:00
Wes Haggard 3bc1c41a93 Update project configurations to account for .NET Standard changes
Fixed various configurations:

ValueTuple and RuntimeInformation are not part of netstandard and
so they cannot not have a netstandard configuration any longer. They are
now platform specific configurations.

No ref configurations.props should have an OS as it blocks the bin-placing
of the refs in some scenarios so cleaned out some of the OS configurations
(probably need to do a full pass).

Update resolveContract logic to probe for the ref in the refpath before doing
a project reference and only falling back to project reference if it is
truely needed.


Commit migrated from https://github.com/dotnet/corefx/commit/ee583a4af7fe84c0a30b7bbf79230875e7c3c267
2017-04-04 12:48:59 -07:00
Alex Perovich fc4bb66b9f Fold or rename *.netstandard.cs files (dotnet/corefx#17697)
* Win32.Primitives

* System.Collections.Specialized

* System.Diagnostics.Process

* System.Globalization

* System.Globalization.Calendars

* System.IO

* System.IO.Compression

* System.IO.FileSystem

* System.IO.FileSystem.Watcher

* System.IO.Pipes

* System.Linq.Expressions

* System.Net.Primitives

* System.Net.Requests

* System.Net.Sockets

* System.Net.WebHeaderCollection

* System.ObjectModel

* System.Reflection

* System.Reflection.Emit

* System.Resources.ResourceManager

* System.Runtime

* System.Runtime.Extensions

* System.Runtime.Handles

* System.Runtime.InteropServices

* System.Security.Cryptography.X509Certificates

* System.Text.Encoding

* System.Text.Encoding.CodePages

* System.Threading

* System.Threading.Tasks

* System.Threading.Thread

* System.Threading.Timer

* System.ValueTuple


Commit migrated from https://github.com/dotnet/corefx/commit/023b6bdd6086271cbb6ca932c33d7783f8406062
2017-03-30 17:28:22 -05:00
Julien Couvreur 4dcf80aa27 Add APTCA attribute to System.ValueTuple.dll in .Net Standard 1.0 (dotnet/corefx#17219)
Add APTC attribute to System.ValueTuple.dll in .Net Standard 1.0. This attribute doesn't exist in profile portable_net40+sl4+win8+wp8.

Commit migrated from https://github.com/dotnet/corefx/commit/82b5bc0a10112853f92740861f386117f499add3
2017-03-17 17:14:19 -07:00
Eric St. John a51f645493 Make ValueTuple inbox on Xamarin
Commit migrated from https://github.com/dotnet/corefx/commit/bcbf027346ccf8ab9ec824187f7121ce400bb6da
2017-03-15 13:57:52 -07:00
Stephen Toub a1963f1310 Reenable ValueTuple tests
Commit migrated from https://github.com/dotnet/corefx/commit/dc6b89c455c85a8d5993939092b24f75c10cc254
2017-03-08 09:34:48 -05:00
Eric St. John e6e3a9fc27 Update configurations in projects
Commit migrated from https://github.com/dotnet/corefx/commit/51aa8c53b26e71872ed7da5c0847f9acbdb3f050
2017-02-21 14:16:22 -08:00
Eric StJohn 61e5012a96 Merge pull request dotnet/corefx#16355 from ericstj/harvestPackages
Harvest packages

Commit migrated from https://github.com/dotnet/corefx/commit/0304965b4ef8255cf8e568da08774e193caf90ad
2017-02-21 16:33:19 -05:00
Eric St. John c684459206 Fix mscorlib-portable build of ValueTuple
This was previously turned off, turn it back on.


Commit migrated from https://github.com/dotnet/corefx/commit/bfc51e7ce8d8946b43afd1e4dfa0f35cb21accd9
2017-02-21 11:57:23 -08:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Eric StJohn 1a40c1b651 Merge pull request dotnet/corefx#16191 from ericstj/packages
Re-enable packages for BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Wes Haggard bc4980e42d Remove the key conditions so it is always correctly set
Removes UseOpenKey and UseECMAKey conditions in projects because
they should always be set


Commit migrated from https://github.com/dotnet/corefx/commit/c49f4c4e1207e07cbbee3f7d40f09dcf3d7615df
2017-02-14 12:07:51 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -08:00
Jan Kotas 8ef50f4082 Rename netcoreapp11 ifdefs to version-less netcoreapp
Commit migrated from https://github.com/dotnet/corefx/commit/980986df961e0db2d48c26acde6d363cf632737c
2017-02-11 22:00:52 -08:00
Tarek Mahmoud Sayed addda8630e Enable tests to compile with netstandard (dotnet/corefx#15956)
* Enable tests to compile with netstandard

Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration

The changes include some fixes to compile teh sources too.

* Fix System.Collections.Immutable

* update src configuration

* remove netstandard17 defines

* Split netcoreapp code to its own files

* Remove 17 from the test class name


Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
2017-02-08 15:32:53 -08:00
Stephen Toub a98b806dec Merge pull request dotnet/corefx#15880 from weshaggard/FixDocCommentFileForValueTuple
Fix name of DocumenationFile so intellisense correctly builds

Commit migrated from https://github.com/dotnet/corefx/commit/0d2960a012d0b4a1cd121a733c0ad24cc7050f4f
2017-02-06 19:15:25 -05:00
Wes Haggard c717cd1997 Fix name of DocumenationFile so intellisense correctly builds
Fixes https://github.com/dotnet/corefx/issues/15823


Commit migrated from https://github.com/dotnet/corefx/commit/9f14c0f2d12f8f5f5ed5643df06f4a9fc1625ca8
2017-02-06 15:16:20 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00