Commit Graph
23 Commits
Author SHA1 Message Date
Viktor Hofer 0964be0ae9 Update slngen and solution files (#60871)
Update slngen tooling to latest stable version and solution files since
a lot changed since the last time they were updated:
- NET7 (removal of older TFMs)
- Source Generators
2021-10-26 21:23:54 +02:00
Viktor Hofer 36b6247cc7 Update solution files for correct ordering of elements (#58655)
With the newest udpate of slngen, the order of elements (configuration, folders, etc.) is in sync with how Visual Studio arranges them.
Also the order is now deterministic.

Based on that, updating all solution files to have the correct ordering of elements. This change also unblocks adding CI protection for
making sure that solution files are up-to-date in regards to their dependencies as slngen is now generating the files deterministically.
2021-09-04 00:16:15 +02:00
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
Jan Kotas 10381a2cdc Find&Replace coreclr/src -> coreclr (#45761) 2020-12-08 10:40:17 -08: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
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
Adam Sitnik 7d7d8aac59 remove System.Memory.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/fa4b8931f2af745786df18c85c4ea69cb44d106f
2019-03-05 07:29:43 +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
Eric St. John 98c0015605 Update SLNs and projects to be in sync with configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8ce7e620e1b5001be002598f4d10d4becdd77a49
2018-03-08 08:25:31 -08:00
Ahson Khan 99d51cc096 Add ROSpan Equals/CompareTo/IndexOf/Contains string-like APIs with StringComparison (dotnet/corefx#27319)
* Add ROSpan Equals/CompareTo/IndexOf/Contains string-like APIs with StringComparison

* Respond to recent change AsReadOnlySpan -> AsSpan

* Remove the out parameter from IndexOf

* Add tests and avoid allocations for StringComparison.Ordinal

* Remove duplicate definition of SoftHyphen


Commit migrated from https://github.com/dotnet/corefx/commit/fdabc62a4f7ff0ffa8b605d2ec14fea27e06e065
2018-02-27 22:46:48 -08:00
ahsonkhan 6c6de2fed8 Changing Span to return default on null instead of throwing.
Commit migrated from https://github.com/dotnet/corefx/commit/cd48d8680762ab47e39236227c346efa042d789c
2018-02-03 23:39:03 -08: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
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 37d3e399af Refresh current solutions and project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/4df5385dc18fc8c34226267d5ed2f00554a57c9a
2017-03-06 17:16:57 -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
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
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
nietras 895b815bda S.M.Span<T>: Add Clear()/Fill(T value) (dotnet/corefx#14396)
Commit migrated from https://github.com/dotnet/corefx/commit/051290fbd903140e2f1f55c7b8a2aa33814a161f
2017-01-15 07:10:22 -08:00
Atsushi Kanamori 3c6e7e66cf Portable (and thus slower) version of Span<> (dotnet/corefx#13562)
* Rebase to make review readable again.

* Remove the type casts from DangerousGetPinnedReference - store object as Pinnable<T>

* Removed stable version list.

* DangerousCreate gets more Dangerous...

* Updated dependency versions *again*.

* IsReferenceFree fast-paths for common primitives.

* Move exception throwing out of inline code.

* Remove Windows-only restriction.

* Remove baseline version.

* Don't hardcode array header size.

* Another dependency version change!

What's the matter, don't we have any version
numbers you like??

* Version => 4.0.0.0

* Use Unsafe.Add rather than SpanHeloer.Add in this[index]

(all this repeated source is annoying - unfortunately,
Rosylin at this point at least, insists that "ref"
variables be initialized once only at declaration point and
doesn't allow the conditional ternary operator on ref types.
This makes it hard to manually inline DangerousGetPinnableReference
in a nice way...)

* ThrowHelper.Throw ==> throw ThrowHelper.Create

Allow JIT to recognize the throw path as a
no-return path so it can throw it into the
cold region.

* Revert the specific primitive type checks in IsReferenceFree().

It pessimizes the routine on the desktop CLR.

* Fix DangerousGetPinnableReference to be a method to match spec.

* PR feedback.

Description: "Provide classes" => "Provide types"

Add fastpath for specific types in IsReferenceFree

Make MeasureArrayAdjustment a PerTypeValues private

* More concise operator==

Eh... hard to tell with all the noise but
it did seems to shave a couple of percentage
points off.

* Follow Ben's suggested ThrowHelper pattern.

* Update ThrowHelper comments based on Ben's feedback.

* Remove trailing whitespace.

* Dependency bump. Again...

* Fix up some tests so the IL is Span-legal.

Ah, the fun of writing Span code w/out stack-only enforcement.

* Add a reference assembly and some of the plumbing...

...to typeforward on CoreClr. Right now, CoreClr
fails 44 out of 55 tests so I believe it's
premature to throw the switch just yet. This just
gets some of the grunt work out of the way.

* Add Cdotnet/corefx#6.0 workaround.

After chatting offline, we'll accomodate C# 6.0 for now
by having the indexer return "T" rather than "ref T".

Some performant code require the "ref T" version so
as another stopgap, we'll provide a GetItem() method
that returns "ref T".

Once the tooling story is in better shape,
we'll merge GetItem() and the indexer into a single
indexer that returns "ref T".

* Dependency update again.

This is getting really monotonous.


Commit migrated from https://github.com/dotnet/corefx/commit/ccc44b7b2e9145251e2ca98bbe0936938ed94379
2016-11-15 16:15:16 -05:00