Commit Graph
334 Commits
Author SHA1 Message Date
Wes Haggard 954fb511b3 Rename AssemblyKey properties to StrongNameKeyId as part of arcade work
Commit migrated from https://github.com/dotnet/corefx/commit/7edd861bf2dd59ecdb4284e0fd291d7458198a9d
2018-10-30 15:14:01 -07:00
Paulo Janotti c6efbc3cf4 Coverage do not target CoreLib in bulk (dotnet/corefx#32537)
* Coverage do not target CoreLib in bulk

* Fix 1 project add temp nop to 2 others

* PR feedback: reuse property to disable code coverage

* PR Feedback: add dedicated property to target runtime

* System.Transactions.Local.Tests taking too long on PR


Commit migrated from https://github.com/dotnet/corefx/commit/95eeecb5184e414810bc94fdb496c5748289a720
2018-10-02 06:05:11 -07:00
Viktor Hofer 941003d655 Make System.ValueTuple full facade assembly
Commit migrated from https://github.com/dotnet/corefx/commit/12ea7a38de4319a1c4d697981cd4aaf5af1ca00b
2018-09-06 19:22:50 +02:00
Viktor Hofer b6829d5fca Remove portable- targetgroups
Commit migrated from https://github.com/dotnet/corefx/commit/98ac84426d99fdf61dcea78dfe8663c666095822
2018-09-06 19:13:19 +02:00
Wes Haggard 6e9321d3bd Merge pull request dotnet/corefx#31993 from weshaggard/harvest21
Update the stable packages and harvested package versions.

Commit migrated from https://github.com/dotnet/corefx/commit/b89a1f8c4b2bb018bb428b1323b79fddf3d72c6d
2018-08-29 09:32:29 -07:00
Filip Navara 2a2c2ef521 Move uap, uapaot, netfx, netcoreapp and netcoreapp20 constant definitions to top-level build file. (dotnet/corefx#31470)
* Move uap, uapaot, netfx and netcoreapp constant definitions to top-level build file.

* Trying to fix compilation of PerformanceCounterLib for netcoreapp2.0 targets.

* Change netcoreapp definition to mean the current version only.

* Fix conflict in System.Private.DataContractSerialization.csproj.

* Revert change in src/shims/manual/Directory.Build.props.

* Fix condition in test.

* Bring back TargetsNetCoreApp, it was lost during rebases.

* Move definition of netstandard to top-level build file. Remove more netcoreapp/uap definitions from individual files.

* Fix vbproj compatibility.

* Address PR review and unify the definitions to use TargetGroup directly.

* Add back one "netstandard" definition.


Commit migrated from https://github.com/dotnet/corefx/commit/ac994544e749eac3e85b60bf0012ae2f85ae0e49
2018-08-29 08:49:33 -07:00
Wes Haggard eec286065d Remove System.ValueTuple package
Given that the entire library is frozen because it is inbox on
most platforms we are going to discontinue the package building
and shipping.


Commit migrated from https://github.com/dotnet/corefx/commit/72b0075033908e747cac4e5b6842fa78cf96b853
2018-08-28 17:56:47 -07:00
Santiago Fernandez Madero ccdea37829 Update netfx alias to target .NET 4.7.2 (dotnet/corefx#28883)
* Change netfx to target .NET 4.7.1

* Fix CoreFx.Private.TestUtilities to not reference System.Runtime.InteropServices.RuntimeInformation which is now inbox in netfx

* Fix StackTrace.Tests to be built against netstandard and run against netfx inbox

* Fix ValueTuple configurations to support net461 and add netfx placeholder configuration since in net471 it is now inbox

* Fix projects' package configurations that had netfx (net461) to still support net461 and netfx as a buildconfigurations

* Disable failing tests when running on .NET 4.7.1

* Make netfx target net472 and merge with master

* Update ActiveIssue comments to issue number only

* Workaround packages tests due to not installed targeting pack

* Match NSSupportPackage version to CLI's

* Remove netstandard support lib bin placing to runtime and testhost for netfx, fix reference paths to match new package

* Run UpdateVSConfigurations after merging conflicts with the newly updated SDK projects

* Add net461 package configuration to System.CodeDom

* Add net461 package configuration to System.Configuration.ConfigurationManager

* Add net461 package configuration to System.Security.Cryptography.Xml

* Add net461 package configuration to System.Security.Permissions

* Add net461 package configuration to System.ServiceModel.Syndication


Commit migrated from https://github.com/dotnet/corefx/commit/faad2e63b35bed10fe18195987a413308b97eded
2018-07-10 15:04:27 -07:00
Eric Erhardt 779486884e Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ec546de620c5248f3662d6aaca989ed382b86b6b
2018-06-28 21:28:41 -05:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Stephen Toub 4c9eb2ec25 Simplify built-in types across corefx tests (dotnet/corefx#30660)
Commit migrated from https://github.com/dotnet/corefx/commit/7ae1a252d7e68c5513d2658de7a401c37e9b0504
2018-06-25 22:42:04 -07:00
Eric Erhardt 96c6a1b8fa Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/0c7364e3a25b0d20dd5b4181fcb3041d949b92b9
2018-06-19 15:51:04 -05:00
Santiago Fernandez Madero f29ef4222f Cross compile compat pack shims against 2.0 and use the 2.1 inbox ones (dotnet/corefx#30031)
* Cross compile compat pack shims against 2.0 and use the 2.1 inbox ones

* Fix build issues and use shims.proj produced facades as ref assemblies in the package

* Exclude System.ValueTuple only on nca2.0 and break compat pack dependency on shims package

* PR Feedback

* PR Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/d73434c0a8a6d7eb4f11d23c408d9f3d2ff809c4
2018-06-18 11:24:07 -07:00
Eric Erhardt 2053139c9a merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/1c91f96ec67a78a33268181d99a73a736b48c13e
2018-06-15 22:24:40 -05:00
Viktor Hofer 23f979bc4c Cleanup BinaryFormatterHelpers usage (dotnet/corefx#30439)
Commit migrated from https://github.com/dotnet/corefx/commit/03d643220955f86ef63c71d3bdd4cae05af1f586
2018-06-15 21:46:15 -04:00
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