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
* -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
* 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
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
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
* 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
* 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
* 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
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