This change removes the closed libraries sources for libraries which we are now building in the open. Stub project files are left in the closed libraries which improt sources from the open for various build configurations.
Also includes these two changes which were not yet ported to open:
- [Serialization]: DCS/DCJS fails to serialize/deserialize XElement type - regression
- Change namespace of System.Xml.XPath.XmlDocument extensions
Validated by pre-checkin gauntlet build dotnet/corefx#150320.14337
[tfs-changeset: 1437136]
Commit migrated from https://github.com/dotnet/corefx/commit/89881048ba6bb6adca5253024ea59e8aa8790a6a
Previously, we used the catch all OS=Unix property in MSBuild to
determine if we were building for Windows vs Unix, and we shared the
same MSIL between Linux and OSX. However, we have already started to
take dependencies on Linux specific APIs and we plan on using OSX
specific APIs very soon.
We don't want to try to ship MSIL that contains both Linux and OSX
specific implementations of a feature, so the build system needs to
change a little.
We'll continue to use the OS property as the entry point for the build
to specificy what platform you want to build for. However, we now have
three platforms:
1. Windows_NT
2. Linux
3. OSX
However, the value of the OS property should not be tested directly,
instead we introduce properties about the target platform itself:
1. TargetsWindows
2. TargetsUnix
3. TargetsLinux
4. TargetsOSX
Code which works the same across Linux and OSX should be guarded by
TargetsUnix (which is true when OS is either 'Linux' or 'OSX'). Code
specific to one OS can be guarded with either TargetsLinux or
TargetsUnix.
In this change, I have simply rewritten all the '$(OS)' == 'Unix'
conditions to '$(TargetsUnix)' == 'true'. A few libraries may do Linux
specific stuff, but we will clean up that debt when we go to flesh out
the OSX implementations.
Commit migrated from https://github.com/dotnet/corefx/commit/4d07173fbf86631d49ed56623581eff9cb7d3f87
After this change we are going to have unified model for handling resources which is we always use resx files placed under Resources folder and the code will be automatically generated in SR.cs file.
We’ll access ant string resource using the SR class (e.g. SR.ArgumentException).
Commit migrated from https://github.com/dotnet/corefx/commit/db7180f04ef9789a7f199fcd9f8c527990e14673
For projects that have OS-specific implementations, this change modifies
their solution and project files to create OS-specific configurations.
Rather than just having a Debug or Release option, in Visual Studio a
developer can now select OS_Debug or OS_Release, e.g. for a project that
has a Windows implementation and a Unix implementation, Windows_Debug,
Windows_Release, Unix_Debug, and Unix_Release will all be available
options. Changing the configuration will update the properties used to
configure conditional includes, build outputs, etc.
Commit migrated from https://github.com/dotnet/corefx/commit/d3b259b89877e4a52d12c08e0f9031f37cb0905b
This is an initial implementation of the System.Diagnostics.Process
assembly for Linux. There are some rough edges here: basic process
enumeration and inspection should work, as should waiting for processes
through various means (WaitForExit, Exited event, etc.), but other
functionality isn't ready for primetime yet, namely Start, which has been
roughly implemented but which hasn't been tested yet.
Some of the surface area doesn't have good equivalents on Linux. Where I
thought it reasonable, in some cases I just left default values in place
or ignore things. In other cases, I throw PlatformNotSupportedException.
We can tweak this over time.
The implementation gets most of its data from the procfs file system.
Suppot for waiting is the most complicated area of the implementation, and
probably still has a few bugs to sort out.
Commit migrated from https://github.com/dotnet/corefx/commit/7a6874e2b84d62b3ece397ae692ee79e330afaa5
As we've discussed offline, we want to change how we're structuring
our interop code, in particular to make it easier to share interop
definitions across assemblies. This commit is an initial refactoring
of our existing Unix interop code to follow the new approach.
Commit migrated from https://github.com/dotnet/corefx/commit/000519fbfa654655410c5cf204d74006faa763fa