Commit Graph
34 Commits
Author SHA1 Message Date
Viktor Hofer 66e8f64d31 Consume Microsoft.DotNet.CoreFxTesting package (dotnet/corefx#33423)
* Consume Microsoft.DotNet.CoreFxTesting package

* Remove code coverage dedicated runtime dir config files and switch to Coverlet

* Add global tool support in corefx

* Update code coverage docs

Commit migrated from https://github.com/dotnet/corefx/commit/ae38b7cc3762d832fdcebe27a0aab7b22ab2f3fa
2018-12-06 02:56:11 +01: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
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
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
Hugh Bellamy 078f1e41a5 Add Corefx.Private.Test.Utilities solution (dotnet/corefx#21254)
* Add CoreFx.Private.TestUtilities solution file

* Update VS configurations across corefx


Commit migrated from https://github.com/dotnet/corefx/commit/29b59607b6a4c57590ab6117becc65299619483e
2017-06-19 22:03:43 -07:00
Krzysztof Wicher 4c2638a989 Hardcode Environment.UserName and Environment.UserDomainName on UAP
Commit migrated from https://github.com/dotnet/corefx/commit/567f40be71d69fe70689ec95bc7c89452004dd9c
2017-06-02 15:21:43 -07:00
Eric St. John af62668426 Update build configurations
Commit migrated from https://github.com/dotnet/corefx/commit/7cfc4fcdbf659581c535f01202e24a6ceb335e31
2017-05-26 08:16:33 -07:00
Atsushi Kanamori 7ea26f291d Fix .sln to what VS wants to rewrite it to. (dotnet/corefx#20257)
Add an optional extended description…

Commit migrated from https://github.com/dotnet/corefx/commit/6511572ac2cd0ea75a46babfa47a795c3f44ae47
2017-05-24 11:31:05 -07: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
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -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
Jeremy Kuhne f84955d1fc Add tests and other fixes (dotnet/corefx#14956)
* Add tests and other fixes

- Ports the majority of Mono Configuration tests (all relevant, all pass)
- Add a number of new tests
- Expand the implicit machine config
- Make check for default machine config explicit
- Fix file move helper to move over existing
- Add Dpapi protected section provider
- Port the RSA protected section provider

* Address feedback & fix issues

- Tweak the headers for the Mono tests
- Fix a Unix path manipulation problem in ClientConfigPaths

* Tweak tests

* Test tweak

* Address feedback


Commit migrated from https://github.com/dotnet/corefx/commit/7d0bf61043e61324e1cf44f099b9ecde846f2237
2017-01-09 13:15:47 -08:00
Jeremy Kuhne a02eba1846 Switch to use CoreLib Path class. (dotnet/corefx#13920)
Leaving the code for UAP for now- we may end up needing to keep it.
(Notably for the Crypto)

Use the core environment variable code.

Commit migrated from https://github.com/dotnet/corefx/commit/227c6546426c6dac34f5c546a64c589866250d68
2016-12-09 20:36:32 -08:00
Rahul Kumar 3de6445a0c Add remaining AppDomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/b41ecdb43737d8209e06a9bd1db1e7d0d7b97cba
2016-11-16 13:32:43 -08:00
Rahul Kumar 00a68797a9 Add more AppDomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/5fde04fff39a6325e7ed5594807023f6958766ff
2016-10-07 15:41:08 -07:00
Jan Kotas 842d177b18 Cleanup (dotnet/corefx#12268)
- Delete bit-rotten netstandard13aot and netstandard15aot support that never shipped
- Delete files moved to CoreLib that no longer build

Commit migrated from https://github.com/dotnet/corefx/commit/7a9f172bfe047bc90c88b87cfb7c3f04a0086de9
2016-10-01 08:54:04 -07:00
Jeremy Kuhne 1c0140790b Add Path.GetRelativePath
This change adds Path.GetRelativePath, which will calculate the relative
path from one directory to another file/directory.

This change also adds support for targetting netcoreapp


Commit migrated from https://github.com/dotnet/corefx/commit/387cf98c410bdca8fd195b28cbe53af578698f94
2016-09-19 11:16:22 -07:00
Stephen Toub f413061c75 Implement Environment.GetFolderPath on Unix
Generally following XDG base directory specification and what Mono does.


Commit migrated from https://github.com/dotnet/corefx/commit/31cb1de368c15605c08163c4af6432746949999b
2016-08-26 18:31:04 -04:00
Amy Qiu d2cd8a906a Merge pull request dotnet/corefx#11007 from Lixire/fill-convert
Fill Out Convert and Add Tests

Commit migrated from https://github.com/dotnet/corefx/commit/fc491bc2b672125b7e0d5074139faa90ba2149de
2016-08-24 13:25:01 -07:00
Amy Qiu 79ff80fb8a Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/68ba00d1dab05afb665d9f1f1e7940a5a32dea33
2016-08-19 11:14:06 -07:00
Matt Ellis 9814bf38f8 Improve VS experience of S.R.E in VS
With this change you can use the configuration manager to select the
"netstandard1.7_Debug" configuration and have nice intellisense support in
Visual Studio for the test project (e.g. netstandard17 is defined, we
reference the correct reference assembly so you can see the new APIs in
netstandard1.7, etc).


Commit migrated from https://github.com/dotnet/corefx/commit/0ea6990ed363ec9f25d78d9b389b9d1622a92d35
2016-08-19 10:06:55 -07:00
Ioana Crant 8a5aadfd9a port math and decimal members with tests
Commit migrated from https://github.com/dotnet/corefx/commit/007fd6a3cee4b7839275b3d1cc2914c3e7a8f8f2
2016-08-17 10:57:25 -07:00
Deepak Shankargouda fb583e4f16 Moving Perf tests to their own csprojs (dotnet/corefx#10192)
Commit migrated from https://github.com/dotnet/corefx/commit/c912d26b0a848477db0362ab4e00bb0e71e0273a
2016-07-20 18:38:03 -07:00
Eric St. John b1119fb4ef Cleanup usage of Linux/OSX
We've standardized on using Unix in most cases where we only cross-
compile once for Unix.  This change cleans up mentions of Linux/OSX when
we aren't actually cross-compiling for those OSes.

The remaining projects that still cross-compile for Linux/OSX are:
  System.Diagnostics.Process
  System.IO.FileSystem.Watcher
  System.Net.NetworkInformation

The System.Net.Security functional tests seem to still have a distinct
difference in functional behavior on OSX so I have also left these
configured to cross-compile for Linux/OSX.


Commit migrated from https://github.com/dotnet/corefx/commit/16ee317fa4e194ff7cf61e923caf103909e391f1
2016-04-26 14:37:21 -07:00
Eric St. John 54f18d06f2 Eliminate use of PackageTargetRuntime in CSPROJ
PackageTargetRuntime can now be derived from the OSGroup of the project.
Set the default values in dir.props and only override if necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/7f871515097039b95b70c974eb5947fe7afaa322
2016-04-26 12:39:49 -07:00
Eric Mellino 87fe49ac7c Fix solution files for renamed projects
I've just re-generated these solution files completely, so they also
include the new configuration groups which were added along with the
renames. As I was changing this, I also moved them to the stable version
of the .NET 4.6 targeting pack NuGet package.


Commit migrated from https://github.com/dotnet/corefx/commit/e0f3aed9d4349458db6ef706bcf6dcd8ff8259ad
2015-12-17 11:40:47 -08:00
stephentoub ea70db5dc5 Implement System.IO.Path on Unix
Previously, System.IO.Path was implemented in mscorlib (with calls into Win32 on Windows / the Win32 PAL layer in libcoreclr on Unix) and type-forwarded from System.Runtime.Extensions.  With dotnet/corefx#2234, we switched the Windows build to using System.IO.Path from System.Runtime.Extensions and Path.cs from corefx, but the Unix version was left still using the mscorlib implementation.  One of the reasons for switching to the Path.cs in corefx, however, was to better enable a bunch of fixes to the behavior of the Unix implementation.

This change implements Path.cs in corefx for Unix and switches the Unix builds (Linux, OS X, and FreeBSD) over to using the implementation in corefx rather than type-forwarding to mscorlib.

Primary changes:
- Defined MaxPath / MaxComponent length in the Unix build in terms of pathconf
- Implemented the Unix build's NormalizePath to properly handle normalizing unnecessary "/", ".", and ".."s in the path.
- Implemented the Unix build's GetTempPath in terms of the TMPDIR environment variable (same logic that's in the Win32 PAL layer's implementation).
- Implemented the Unix build's GetTempFileName in terms of mkstemps.
- Implemented the Unix build's GetRandomFileName in terms of OpenSSL's RAND_pseudo_bytes, same as is done in System.Security.Cryptography.RandomNumberGenerator (which we can't reference due to layering).
- Centralized the wrapping of getcwd, which is now used from both System.Runtime.Extensions and System.IO.FileSystem.  The previous usage of it always created a temporary array of size MaxPath, which can now be quite big, so the wrapper first tries to use stack space, and then graduates to retrying with larger and larger buffer sizes.
- Centralized the MaxPath and MaxName logic, which is now used by three libraries: System.Diagnostics.Process, System.IO.FileSystem, and now System.Runtime.Extensions.
- Centralized the throwing of PathTooLongException, as it now requires arguments for how long are the maximum path and component names.
- Cleaned up a few other minor things in the shared Path.cs (e.g. naming Boolean arguments) that were confusing me as I was working through the code.
- Added FreeBSD to the .sln and .csproj files, as otherwise the FreeBSD build for this library would be broken (previously it inherited the mscorlib implementation as did the other Unix OSes).
- Added a bunch of tests, some general across both Windows and Unix, but others specifically focused on Unix, which is more lenient than is Windows in the paths it allows.


Commit migrated from https://github.com/dotnet/corefx/commit/c4bc3bbfae8a9bf50defcfb8d6e13905f1209240
2015-07-06 20:53:17 -04:00
Jeremy Kuhne e5f55716db Make tools packages.config host platform specific.
Commit migrated from https://github.com/dotnet/corefx/commit/13f9e121ad8e1c6a7d7cb0e4be4a9c5cdc814094
2015-05-20 14:09:51 -07:00
Lakshmi Priya Sekar 2a499c5cbf Remove XunitTraitDiscoverers from corefx and reference the nuget package xunit.netcore.extensions.
Commit migrated from https://github.com/dotnet/corefx/commit/03e32211d668ee215f32c599849987cb7d9d4e2a
2015-05-07 16:15:32 -07:00
dotnet-bot 57573f61bc Move System.Runtime.Extensions to the open directory
Checked in by erme (mellinoe)

[tfs-changeset: 1463519]


Commit migrated from https://github.com/dotnet/corefx/commit/af7bfcae8df1c30c5ef0debc1a917a4330843e64
2015-05-01 11:29:07 -07:00
Maxwe11 6a98eb9ef5 Move *.sln files to the appropriate projects folders
Commit migrated from https://github.com/dotnet/corefx/commit/fb8fb441b3e5414590b8d1af4ec5f52ca52c0dff
2015-02-20 19:52:00 +02:00