Commit Graph
27 Commits
Author SHA1 Message Date
Viktor Hofer a6b9a63f35 Update libraries solution and NuGet.config files (#56430)
* Update slngen and invocation

* Update NuGet.config files

* Update solution files with slngen
2021-07-28 18:44:17 +02:00
Viktor Hofer ed295782bf Add workflow to update solution files with SlnGen and update them initially (#44703)
* Add slngen infra

* Update all solution files
2020-11-17 18:23:30 +01:00
Viktor Hofer d0dc66bc0b Rename CoreFx.Private.TestUtilities and reference it in slns (#34656)
* Rename CoreFx.Private.TestUtilities to TestUtilities

* Add TestUtilities reference to slns
2020-04-08 01:26:53 +02:00
Anirudh Agnihotry 725968c3c5 New Configuration System (#1787)
* libraries -restore for vertical build without test restore

* Automatic test change and regex to remove the addition of an extra line at eof

* manual test restore fixed (restore completely done for vertical build)

* build native done

* Automatic ref change and regex to remove the last line

* manual reference assebly change and generated shims build

* automatic src change and regex

* native bin place and src build manual change

* apicompat and pretest.csproj done

* fixing the package build

* fixing all config

* packaging and feedback

* adding back placeholder configuration

* fixing the shims

* delete configuration.props

* making the build work in master

* Test Change

* fixing the packageing, test restore replacing TargetFramework -> OriginalTargetFramework

* delete test configuraiton.props, trailing semicolon and use targetFramework

* reverting the package change

* enable apicompat and fixing configurationGroup for individual projects

* fixing the api compat

* making ilproj work

* adding the outerBuildTest

* adding the arcade package version

* fixing the merge conflicts

* minor changes

* adding additional configs and setting the runtimeOS

* making the  vs stuff work

* removing the target Group to fix the apicompat

* fixing the linux build and some minor changes

* making additionalBuildTargetFramework LOcalProperty

* fixing the allConfigurations build

* fixing the netfx build

* fixing package Testing and restore

* Missing  TargetFrameworks tag

* making the VSdesgin stuff work

* Remove OriginalFramework Entirely

* some minor pr feedback

* RemoveExtraSemicolon

* use boolean exclude flag

* fixing yml scripts to pass tests

* adding comments and some minor feedback

* moving packaging property to correct plave

* fixing the build for web assembly

* Fixing the live ci build

* Fixing the live build for shims

* fixing the tests

* fixing the packaging and enterprise linux

* fixing  package sizes

* Fix the targetFramework

* updating the targetFramework sdl

* removing the buildOS and be able to use OSGroup as done in the old system

* Fixing the osgroup stuff for send to helix task

* Fix OSX failures

* Fixing the osx build

* uploading tmp folder to artifacts

* running restore for runtime.deproj correctly
2020-02-06 05:24:08 +00:00
Anton Firszov ab6004b235 additional naming fixes,
default System.Net.Sockets.sln configurations to Windows_NT again
2020-01-31 16:22:55 +01:00
Stephen Toub 9999d4b86e Clean up stale issue links (#2063)
- In some cases, I deleted ActiveIssues associated with issues where the problem was supposedly fixed.  We'll see.
- In some cases, I deleted test cases entirely, e.g. where the corresponding issue said effectively "we'll live with the behavior" or "another repo is responsible for this now" (paraphrasing), or where the tests were initially added to the repo years ago already disabled and against bug numbers from some old bug database.
- In some cases, I replaced the link with the correct one.
- In some cases, I re-opened closed issues.
2020-01-23 17:05:05 -05:00
Anirudh Agnihotry 3b9abae5aa Removing "netcoreapp" and "netfx" TargetGroup (#457)
* netcoreapp -> netcoreapp5.0 in .sln files

* netcoreapp; -> netcoreapp5.0;  , netcoreapp- to netcoreapp5.0-

* netcoreapp- -> netcoreapp5.0 in .csproj

* 'netcoreapp -> 'netcoreapp5.0 in .csproj

* done with libraries sub folder

* missed semicolon

* minor changes

* netcoreapp -> netcoreapp5.0 in some extra files

* vNext target variable in configurations.props

* netcoreapp => netcoreapp5/0 in some other .props file

* netcoreapp -> vnext in .csproj

* making the netcorepap framework switch work

* fixing sendToHelix and linux build

* TargetFrameworkVNext -> netcoreappCurrent

* case correct netcoreappcurrent

* fixing send to helix zip path

* netfx -> net472 in .sln

* netfx; -> net472; in .props

* netfx- -> net472- in .props

* netfx - -> net472- in .csproj

* 'netfx-> 'net472 in .csproj

* netfx -> net472 manual change

* fixing ci build for netfx

* Not trying to change the global property

* Fixing build failure due to master changes in net https tests

* adding documentaiton and fixing filtering

* netcoreapp -> netcore5.0 in py file

* changing the path to use netcoreapp5.0 version

* feedback and override corefx path corrected in installers

* remaing netcoreapp5.0 changes done

* netcoreapp-> netcoreapp5.0 after live builds

* net472 -> netframeworkcurrent
2019-12-14 12:22:29 -08:00
Viktor Hofer 2862b45d28 Update sln configurations (dotnet/corefx#38698)
Commit migrated from https://github.com/dotnet/corefx/commit/5ec88f81af71d253cfa74f9982abf748ccbd529b
2019-06-19 23:28:19 +02:00
Jose Perez Rodriguez 7d8177c8c3 Fix VS Configurations for all projects in corefx (dotnet/corefx#37477)
Commit migrated from https://github.com/dotnet/corefx/commit/1c48331eb5784c58b81309665257f454abd7d322
2019-05-06 14:46:10 -07:00
Stephen Toub 150653a7d7 Plumb CancellationToken through Socket.Receive/SendAsync (dotnet/corefx#36516)
In .NET Core 2.1 we added overloads of Send/ReceiveAsync, and we proactively added CancellationToken arguments to them, but those tokens were only checked at the beginning of the call; if a cancellation request came in after that check, the operation would not be interrupted.

This PR plumbs the token through so that a cancellation request at any point in the operation will cancel that operation.  On Windows we register to use CancelIoEx to request cancellation of the specific overlapped operation on the specific socket.  On Unix we use the existing cancellation infrastructure already in place to support the existing custom queueing scheme.

Some caveats:
- On Windows, canceling a TCP receive will end up canceling all TCP receives pending on that socket, even when we request cancellation of a specific overlapped operation; this is just how cancellation works at the OS level, and there's little we can do about it.  It also shouldn't matter much, as multiple pending receives on the same socket are rare.
- If multiple concurrent receives or multiple concurrent sends are issued on the same socket, only the first will actually be cancelable.  This is because this implementation only plumbs the token through the SocketAsyncEventArgs-based code paths, not the APM based code paths, and currently when using the Task-based APIs, we use the SocketAsyncEventArgs under the covers for only one receive and one send at a time; other receives made while that SAEA receive is in progress or other sends made while that SAEA send is in progress will fall back to using the APM code paths.  This could be addressed in the future in various ways, including a) just using the SAEA code paths for all operations and deleting the APM fallback, or b) plumbing cancellation through APM as well.  However, for now, this approach addresses the primary use case and should be sufficient.
- This only affects code paths to which the CancellationToken passed to Send/ReceiveAsync could reach.  If in the future we add additional overloads taking CancellationToken, we will likely need to plumb it to more places.

Commit migrated from https://github.com/dotnet/corefx/commit/2190a0ffbbc0af808b67e827abdaf01be4271aeb
2019-04-07 16:51:29 -04:00
Adam Sitnik 45fa8734a2 remove System.Net.Sockets.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/c04eac176b9c207b2e23463436be2585767d7071
2019-03-05 07:39:31 +01:00
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
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 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
Stephen Toub 4dd628d90a Add some basic Socket SendAsync/ReceiveAsync perf tests (dotnet/corefx#25136)
Commit migrated from https://github.com/dotnet/corefx/commit/e06bfe4d5aa562aecd00db84b181b8cbed3f8702
2017-11-09 07:22:23 -05: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
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
Eric Eilebrecht 2dc29b8254 Move System.Net.Sockets to netstandard 1.7 (dotnet/corefx#12249)
* Make Sockets target ns1.7, maintaining old configs

* Remove netstandard1.3 implementations.

* Fix NetworkStream overrides

* Fix serialization attributes

* Move tests to netstandard1.7




Commit migrated from https://github.com/dotnet/corefx/commit/3b71aec26195cfd020237ad504f2fff248019277
2016-10-03 15:18:47 -07:00
Petr Onderka 5e1fd573a1 Fixed executing msbuild on solutions
- corrected project paths
- removed configurations that don't build
- other small fixes


Commit migrated from https://github.com/dotnet/corefx/commit/449330adbe887c5adf2873d8b46af47f924514f4
2016-05-30 00:39:35 +02: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 45736b2647 Fix compilation issues in various libraries when compiling without PCL reference assemblies
Commit migrated from https://github.com/dotnet/corefx/commit/e49f570bf97d0d81f3c461970155dc6cdd6aee8c
2016-02-24 18:29:17 -08:00
dotnet-bot 59f03d6341 Initial import of System.Net.Sockets.
Commit migrated from https://github.com/dotnet/corefx/commit/36c09c4802aebed9abfe4dd86fe9fbfd7b9c72cc
2015-09-23 21:06:21 -07:00