Commit Graph
359 Commits
Author SHA1 Message Date
Ahson Khan 4fed6ab881 Auto-generate the reference assemblies and separate type forwards (dotnet/corefx#35557)
* Auto-generate the reference assemblies

* Add back type forwards.

* Revert "Add back type forwards."

This reverts commit dotnet/corefx@3acf74aabb.

* Add back TypeForwardedTo in .Forward.cs files

* Add new type forward files to the csproj files

* Add back if-defs and move TestUtilities comment from ref to source

* Remove duplicate definitions, delete unnecessary manual files,

* Fix build breaks

* Add back missing AsyncMethodBuilderAttr to S.Runtime ref

* Fix typo between XmlDocument and XPath.XDocument

* Add type forward fild missed from previous commit

* Fix ECDiffieHellmanCngPublicKey internal ctor for netfx 4.6.1

* Remove "this type was moved to comments" from the type forwards.

* Add back the Xml and Debugger* attributes to Xml.ReaderWriter

* Add back struct layout attributes

* Add back attributes missing (highlighted from api compat)

* Add missing toolbox item attribute in s.data.common.

* Add missing struct layout attributes and remove unnecessary additions

* Add back InterfaceTypeAttribute


Commit migrated from https://github.com/dotnet/corefx/commit/16689aa0a933517dc45465fc6edb6223222414a6
2019-02-27 19:39:21 -08:00
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
Wes Haggard 6dcf8b8bfb Update the configurations properties in projects
Commit migrated from https://github.com/dotnet/corefx/commit/fea86686c620242ce7e1911418f2fba7c4d52d4d
2018-08-29 09:45:04 -07:00
Viktor Hofer a177aa4888 Promote tests to netstandard (dotnet/corefx#31966)
* Promote tests to netstandard

* Disable uap test run

* Uncomment constant define, file condition positive

* Disable failing uap tests


Commit migrated from https://github.com/dotnet/corefx/commit/559d5401e6bb8a487ff499f4beff5bf5d83961a3
2018-08-27 20:03:05 +02: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
Stephen Toub 2fb9f847fc Simplify built-in types across corefx (dotnet/corefx#30656)
Commit migrated from https://github.com/dotnet/corefx/commit/e0ba7aa8026280ee3571179cc06431baf1dfaaac
2018-06-25 16:54:41 -07: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
Eric Erhardt 88aa1722bd Clean up projects. Get all projects importing clean with no warnings or errors.
Commit migrated from https://github.com/dotnet/corefx/commit/be5ceb5379738fab0a071f98e63f18496bc0388a
2018-06-12 17:50:54 -05:00
Eric Erhardt 75eca32797 Get netcoreapp build working.
Commit migrated from https://github.com/dotnet/corefx/commit/3ecd281330a996202b902144bddd40db96849bf4
2018-06-11 17:13:46 -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
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
Anirudh Agnihotry 8ad804ff47 Fixed tests for non english windows (dotnet/corefx#28865)
Commit migrated from https://github.com/dotnet/corefx/commit/5d2fd5bd2dfeed003892849a8d85f2506a922c36
2018-04-05 16:30:09 -07:00
Alexander Radchenko 58b609b6b8 Fixed System.IO.FileSystem.AccessControl.Tests fails on non-English Windows (dotnet/corefx#28405)
* Fixed  System.IO.FileSystem.AccessControl.Tests fails on non-English Windows

* Use WellKnownSidType


Commit migrated from https://github.com/dotnet/corefx/commit/56f02f35235606415c8773be6d8c26e41653c767
2018-03-28 11:10:36 -07:00
Wes Haggard 85bc26c5a1 Suppress NETStandard.Library package collapsing
There are a few packages which have only a small number
of packages that are part of NETStandard.Library which we
should avoid replacing with NETStandard.Library because it adds
a lot of extra package dependencies which aren't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/09d84b70fc63b57cccdc2135055f7aa0d1876855
2018-03-22 15:46:20 -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
Alexander Radchenko 1b2735ebf1 System.IO.FileSystem.AccessControl.Tests fails some tests on non english windows (dotnet/corefx#27628)
Commit migrated from https://github.com/dotnet/corefx/commit/2ee63c6253248c0293e606f73794b790f55b3227
2018-03-04 19:21:02 -05:00
Stephen Toub e5ff70defe Fix some license headers across the repo (dotnet/corefx#27039)
Commit migrated from https://github.com/dotnet/corefx/commit/7f19e761b7400521030707df2e6fac10daa36f26
2018-02-11 08:55:26 -05:00
Jan Kotas e6c28ba3b1 Cleanup CodeContracts annotations (dotnet/corefx#26324)
Commit migrated from https://github.com/dotnet/corefx/commit/a3e4e241c7b7c33750258082969287b9cf45d757
2018-01-14 14:19:41 -05:00
Marco Rossignoli 1a50b0c324 "Don't directly throw Exception" System.IO.FileSystem.AccessControl (dotnet/corefx#25696)
* Fix throw new Exception();

* Fix throw new Exception()

* Fix throw new Exception();

* Fix throw new Exception();

* Fix throw new Exception();

* Fix throw new Exception();

* Fix throw new Exception();

* Don't directly throw Exception

* test RemoveAccessRuleAll_AccessControlType_Deny_ThrowException and throw  InvalidOperationException

* change exception message

* add more descriptive exception message


Commit migrated from https://github.com/dotnet/corefx/commit/a09877081b654b5be925106ab63f0dd3f64e680a
2018-01-02 09:46:40 -08:00
Santiago Fernandez Madero c077e72880 Ensure build of netcoreapp vertical of CoreFx can be done without past packages (dotnet/corefx#25921)
* Add System.Drawing.Common to netcoreapp vertical

* Make System.Data.Odbc be able to build for netcoreapp vertical

* Add netcoreapp to System.Diagnostics.PerformanceCounter

* Add netcoreapp to System.Diagnostics.EventLog

* Run UpdateVSConfigurations

* Change Contains('netcoreapp') to StartsWith('netcoreapp')

* Include netcoreapp.depproj only when BuildAllConfigurations == true

* Change tests to netcoreapp from netcoreapp2.0 for vertical


Commit migrated from https://github.com/dotnet/corefx/commit/edacccb1cd6ecf7d36cd2379df8dd609ae0eb9a4
2017-12-18 17:20:36 -06:00
Jan Kotas 27d98c0776 Delete unnecessary SecurityCritical and SecuritySafeCritical annotations
Commit migrated from https://github.com/dotnet/corefx/commit/0bb106232745aedfc0d0c5a84ff2b244bf190317
2017-11-19 10:37:38 -08:00
Santiago Fernandez Madero 74e18bce56 Stabilize configurations for compat pack (dotnet/corefx#25017)
* Stabilize configurations for Microsoft.Win32.Registry

* Stabilize configurations for System.IO.FileSystem.AccessControl

* Stabilize configurations for System.IO.Packaging

* Stabilize configurations for System.Security.AccessControl

* Stabilize configurations for System.Principal.Windows

* Stabilize configurations for System.ServiceProcess.ServiceController

* Stabilize configurations for System.Text.Encoding.CodePages

* Some extra cleanup

* Fix CI failures


Commit migrated from https://github.com/dotnet/corefx/commit/39cdb933600c5dcdec1157b8d5755ec37950e2e0
2017-11-03 11:41:04 -07:00
Santiago Fernandez Madero 00b43c6514 Fix System.DirectoryServices configurations and generate PNS assembly correctly for UAP (dotnet/corefx#24878)
* Fix System.DirectoryServices configurations and generate PNS assembly correctly

* Fix CI adding UapVNext as a target framework for the pkg

* Fix configurations to be PNSE when targeting netstandard or any non-windows configuration

* Disable test that is using DirectoryServices and is getting PNSE


Commit migrated from https://github.com/dotnet/corefx/commit/3be15ca3d519fafc149c08b20727f88cb0f76e6a
2017-10-31 16:14:22 -07:00
Stano Peťko ec4c122217 Deleted unused string resources. (dotnet/corefx#24697)
Commit migrated from https://github.com/dotnet/corefx/commit/ae86eca620025087b576d092e67acde7760d4baa
2017-10-17 21:06:31 -04:00
Eric St. John b2dae07f2b Update VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/238bf3302817a910fac3968f4ac826424294ab0c
2017-08-29 08:49:24 -07:00
Eric St. John cb4f8f8796 Ensure packages continue to build for NETCoreApp2.0
These are for packages that are outside of the shared framework.  We shouldn't make them
cross-compile for netcoreapp2.1 just because master has moved to that.  Instead we'll make
them continue to target netcoreapp2.0.

Two cases we want to cross-compile are OpenSsl and Cng since these have already started
taking advantage of API added in NCA2.1 (span).  For this we'll cross-compile and redist the
old netcoreapp2.0 implementation.

Two other special cases are System.Memory and System.Runtime.CompilerServices.Unsafe.
In these cases we wanted to keep them targeting netcoreapp (netcoreapp2.1) and
make their portable implementations apply for netcoreapp2.0.


Commit migrated from https://github.com/dotnet/corefx/commit/4a94c7b730928eda2e540b0d95bf8b9e89376907
2017-08-14 16:06:30 -07:00
Wes Haggard ee1e153dc1 Update harvest paths for new stable packages
Commit migrated from https://github.com/dotnet/corefx/commit/4deb3b587c4cf9788c5af137c47c9a2607d817d1
2017-07-31 11:34:06 -07:00
Ian Hays 6783a040d1 Merge pull request dotnet/corefx#22008 from 8to5Developer/AclUnitTests
Improve code coverage of System.IO.FileSystem.AccessControl (84.3%)

Commit migrated from https://github.com/dotnet/corefx/commit/e0dc2c42e4ed730a54a564168e37015a01284592
2017-07-24 10:10:49 -07:00
Root 23c89e17a5 Refactored the code.
Commit migrated from https://github.com/dotnet/corefx/commit/0ec121ed13001174730d32f302e03d81f3a01899
2017-07-23 22:50:19 +02:00
Root eee9add246 Added new test cases for the "DirectoryObjectSecurity" Class.
Commit migrated from https://github.com/dotnet/corefx/commit/5c4d1529778082cca8719afae7a574b6c0f123c0
2017-07-08 21:49:44 +02: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 7c660f36bb Update remaining argument*exceptions to have param names (dotnet/corefx#21650)
Commit migrated from https://github.com/dotnet/corefx/commit/ea1bc38c237dfb768e7d442efa95cab785e89ac3
2017-06-28 06:44:57 -07:00
8to5Developer d05b5f630d Added the test cases for the following classes: (dotnet/corefx#21479)
FileSystemAccessRule
FileSystmSecurity

Commit migrated from https://github.com/dotnet/corefx/commit/646d7e5b889e4ef8c317ae5502df3b177e763e78
2017-06-23 20:48:44 -04: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
8to5Developer bc3a5de554 Improve code coverage of System.IO.FileSystem.AccessControl (35.7%) (dotnet/corefx#20680)
* -Added new classes to handle the unit tests for the following libraries:
 FileSysyemAuditRule.CS
 DirectoryObjectSecurity.CS
-Added new unit tests to the 'FileSystemAclExtensionsTests.cs' class

* updated the files according to the suggested code standards for test cases.

* updated the file according to the suggested code standards.

* Updated some of the test cases and ran the CodeFormatter tool.

* Removed the invalid terms in the code.


Commit migrated from https://github.com/dotnet/corefx/commit/12d25b0445f67ac299de5abb2af7af767c135c88
2017-06-12 18:23:15 -07:00
Eric St. John 67a1a83adf Update configurations
Commit migrated from https://github.com/dotnet/corefx/commit/a152026c63c03dda2e470b780ecb4b3aa9671e11
2017-05-19 10:17:08 -07: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
Viktor Hofer 69408edf6d Deactivating System.IO.FileSystem.AccessControl tests on uap/uapaot (dotnet/corefx#19750)
* Deactivating ACL tests on uap/uapaot

* Add reason why disabling tests

* Disabling tests for uap/uapaot

* Changed project configs in test


Commit migrated from https://github.com/dotnet/corefx/commit/6fc97cfbc24d97a2d4843cfc10db28d8bfc2141d
2017-05-16 01:31:39 -07:00
Wes Haggard 69104e87e0 Revert "Remove some assemblies from some OS shared frameworks"
Commit migrated from https://github.com/dotnet/corefx/commit/55e85fa5da49c762645063c3771cbcee7eec1984
2017-05-15 09:40:00 -07:00
Sepideh Khoshnood 9214b25a4f Add nice messages for assemblies with autogenerated PNSE (dotnet/corefx#19506)
* Add nice messages for assemblies with autogenerated PNSE

* Fix failing builds

* Apply feedback

* Temporary workaround for Microsoft.Win32.Registry which needs using System statement

* Add new resource files

* Temporary workaround for System.Security.Cryptography.Cng which needs using System statement on Unix platforms

* Update BuildTools version and use resource strings for all PNSE messages

* Fix builds

* Fix typo


Commit migrated from https://github.com/dotnet/corefx/commit/00b2a853429c896eb973ffc1bbff04b186ab5d07
2017-05-09 20:16:50 -07:00
Wes Haggard 3641ab1a51 Remove some assemblies from some OS shared frameworks
A number of assemblies are only needed for implementation closure
on some OS's so for those lets only include them on the OS that
needs them.


Commit migrated from https://github.com/dotnet/corefx/commit/c5db9a803ee1eb2c9c33f8101a3d1692c0158317
2017-05-03 16:15:57 -07:00
Eric St. John f23c4cfc5d Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/d4e7a1d43b74b8e16f0fe3dc0c69965dff679c42
2017-04-24 15:50:22 -07:00
Eric St. John 809b1ef04a Remove use of IsDesktopFacade
Commit migrated from https://github.com/dotnet/corefx/commit/7a7bf2e0cb40168c8819d84c66c99c8984746e02
2017-04-24 15:46:30 -07:00
Eric St. John 4b59989faa Remove NotSupportedOnTargetFramework
NotSupportedOnTargetFramework was used to explicitly make a package fail
to install (due to ref/lib guardrails check) where it would otherwise
succeed.  This is no longer serving its purpose since NuGet removed the
guardrails check.  It's also creating a less desireable failure mode:
FileNotFound vs PlatformNotSupported.


Commit migrated from https://github.com/dotnet/corefx/commit/e7533ab2c24728a5937bfb68609e183833359b27
2017-04-18 13:28:59 -07:00
Eric St. John d0cfa6fdb0 Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/e15f244ad68b70444ad77889e5f92043d245bcdb
2017-04-18 13:28:55 -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 d47f03fb56 Explicitly list paths for harvesting
Commit migrated from https://github.com/dotnet/corefx/commit/ec4d6f868eb6497216791fc158173e7123d6e73f
2017-04-18 12:20:30 -07:00