Commit Graph
433 Commits
Author SHA1 Message Date
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
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -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
Alex Perovich 638dce97a5 Add this modifier to S.IO.FS.Acl extensions (dotnet/corefx#17903)
Fixes dotnet/corefx#15243

Commit migrated from https://github.com/dotnet/corefx/commit/d3329e98ffd5421f7a25c59f9d3be6735bc06505
2017-04-04 18:14:09 -05:00
Viktor Hofer 2e4b63d6f0 Omissions in types supported by both Desktop and Core - System.Security.AccessControl.AuthorizationRuleCollection (dotnet/corefx#17604)
* AuthorizationRuleCollection inheritance changed to ReadOnlyCollectionBase

* fixed link path

* refs for AuthorizationRuleCollection adjusted

* Included refs and updated ApiCompat baseline

* Indentation fixed in csproj

* AuthorizationRuleCollection inheritance changed to ReadOnlyCollectionBase

* fixed link path

* Included refs and updated ApiCompat baseline

* updated baseline


Commit migrated from https://github.com/dotnet/corefx/commit/922b7021d75c5795a3051132430238c92f2a934f
2017-03-29 02:15:23 +02:00
the-dwyer dd8e887b5d Improve code coverage for System.IO.FileSystem.AccessControl from 2.3% to 8.7% (dotnet/corefx#15815)
* Improve code coverage for System.IO.FileSystem.AccessControl

* Added check on parameter names for ArgumentNullExceptions and only passing in one null parameter

* add tests for gets and sets that do not throw exceptions

* renamed tests with returns valid object and removed set tests

* use temp directory and file

* use temp directory and file

* use TempDirectory and TempFile from Common code

* remove reference that is not needed

* call extension method from object


Commit migrated from https://github.com/dotnet/corefx/commit/ca5e2ecb33359a4c55ed7407ecc0b49bc78e3760
2017-02-23 11:38:13 -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
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
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
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* Enable compiling the test projects against the configuration

The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.

* Fix openssl test project on Linux distros

* Update the project configurations

* Update VS solution files

* update solution files


Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Tarek Mahmoud Sayed eb4147f182 Stop bin placing facade assemblies to the refs for netfx builds (dotnet/corefx#15700)
we were bin placing the facade assemblies to the ref folder during netfx build. this was causing a problem while building the tests as we'll get some types defined in the referenced facade assemblies and core libs.

Commit migrated from https://github.com/dotnet/corefx/commit/6c2087f755e240758150c6c692d5d8ddc67f2832
2017-02-01 16:34:49 -08:00
Eric St. John 60359ed705 Make netfx build work
This fixes all src and ref projects to build when TargetGroup=netfx.


Commit migrated from https://github.com/dotnet/corefx/commit/44df137ce0a9e38883d8f9a1149bdf01e54c8956
2017-01-31 18:43:08 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Eric St. John 3a15f3acd6 Fix src projects for appropriate ref folder
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.

For any library that is part of netstandard, its implementation should
not build against netstandard

For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).

OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186.  As such we
need to cross-compile both src and ref for NETCoreApp.  I've moved the not-
supported assembly to be the 'netstandard' implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
2017-01-30 11:14:08 -08:00
Eric St. John d8824893ff Fix ref configurations for appropriate ref folder
For any ref that can build on top of NETStandard it should.


Commit migrated from https://github.com/dotnet/corefx/commit/3733239be954dcd9179df7d196f8a3c95e3b868b
2017-01-30 08:39:35 -08:00
the-dwyer 1561c15c2a Improve code coverage for System.IO.FileSystem.AccessControl (dotnet/corefx#15375)
* Improve code coverage for System.IO.FileSystem.AccessControl

* Added check on parameter names for ArgumentNullExceptions and only passing in one null parameter

Commit migrated from https://github.com/dotnet/corefx/commit/b036d7a59620ad3812ca966f634e827a745f4475
2017-01-23 10:13:00 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric St. John a1370e9d86 Add packages to NETCore.App to complete closure
Commit migrated from https://github.com/dotnet/corefx/commit/e226ab750e3731d129ad704307af7b74b0fa108b
2017-01-18 21:10:22 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00