Commit Graph
317 Commits
Author SHA1 Message Date
Stephen Toub 04f22268ef Change all ActiveIssues to use Uris instead of numbers (#1768) 2020-01-15 23:21:36 -05:00
Jan Kotas 0647ec3149 Replace GetDirectoryNameOfFileAbove with GetPathOfFileAbove where possible (#1175) 2019-12-27 00:31:18 -08: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
Anirudh Agnihotry 3679e373a3 Bumping the assembly version to 5.0.0.0 (dotnet/corefx#41723)
* bumping the assembly Version

* correcting the resx file

* keeping netfx for oleDb

* fiixing the netfx tests as well

* fixing the DataSetExtensionsVersion

* removing netstandard2.0 from ref in datasetextensions


Commit migrated from https://github.com/dotnet/corefx/commit/9a4ed0d00bc642b015974684c32b00650426429f
2019-11-11 10:43:58 -08:00
Eric StJohn 8e5e761de8 Fix System.Composition.* public key (dotnet/corefx#42232)
Commit migrated from https://github.com/dotnet/corefx/commit/18e82cabc1d2cddad8ff07ae96edb7296d9fad9d
2019-10-31 00:43:12 -06:00
Viktor Hofer d2999dc804 Remove versionless netstandard target group (dotnet/corefx#41984)
Commit migrated from https://github.com/dotnet/corefx/commit/26d7b6626ab0385a1158e674855f81ab73f628e0
2019-10-27 17:08:59 +01:00
Viktor Hofer 9b88ca1d72 Remove UAP target (dotnet/corefx#41759)
* Remove Uap target

* Remove RemoteInvokeForUap wrapper calls entirely

* Harvest S.D.SqlClient on UWP

* Disable UWP PInvoke analyzer

* Enable WindowsRuntime* tests on netcoreapp

Commit migrated from https://github.com/dotnet/corefx/commit/3b6ec2ba944fb72f921f95b99b6ebf2e7bb3dc5a
2019-10-17 15:04:39 +02:00
Viktor Hofer f1f9323236 Remove obsolete CodeCoverageAssemblyAttribute (dotnet/corefx#41674)
Commit migrated from https://github.com/dotnet/corefx/commit/e0ad7cfd08719242c4613ffb9574cd77328a7ba6
2019-10-09 09:27:48 -04:00
Anirudh Agnihotry 52947d39ce Bumping the version of OOB packages to match product version (dotnet/corefx#41623)
* update package version for oob packages as well

* ServiceVersion -> PatchVersion


Commit migrated from https://github.com/dotnet/corefx/commit/4e0541e71d7ff69aaebccd28ca8b6b7dba9e76ee
2019-10-08 18:06:55 +00:00
Matt Galbraith bfba8f6931 Fix a typo in DictionaryImportsReceiveMetadataFromNestedAdapters test name (dotnet/corefx#41149)
Commit migrated from https://github.com/dotnet/corefx/commit/9200a1714863e53be53dc4406f493b2ea810c291
2019-09-17 09:26:21 -04:00
Viktor Hofer d5079dda17 Remove ProjectGUIDs from project files and Project and Name attributes from P2Ps (dotnet/corefx#40926)
* Remove ProjectGUIDs from P2Ps

* Remove ProjectGUIDs from project files

Commit migrated from https://github.com/dotnet/corefx/commit/c22714d65151968a17c3b232748880d5e7961dee
2019-09-09 18:21:25 +02:00
Anirudh Agnihotry 1c13bd8bb1 Correcting baseline numbers here as 5.0 should have higher numbers then 3.1 (dotnet/corefx#40530)
* correcting baseline numbers here.

* removing runtime, private and meta packages

* updating the visual basic core package number


Commit migrated from https://github.com/dotnet/corefx/commit/66bbf33e750fd9284edb56c52577536f6b91c139
2019-08-23 14:09:30 -07:00
Aaron Kunz d55dbc5a41 Remove unused parameters for custom test errors (dotnet/corefx#40151)
Closes dotnet/corefx#38575

Commit migrated from https://github.com/dotnet/corefx/commit/22259d8049554ba96f69908cc671cf117af0a826
2019-08-09 10:15:24 -04:00
Stephen Toub 60d1224ddd Re-enable StyleCop warnings SA1028 and SA1518 (trailing whitespace and blank lines) (dotnet/corefx#40113)
Mechanical/automated change.  The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered.

Commit migrated from https://github.com/dotnet/corefx/commit/09a6e66b0c2b31bd0f6e7e3170537d14027aeed0
2019-08-07 21:07:58 -04:00
Stephen Toub d24aa292ac Re-enable xunit warning 2009 (dotnet/corefx#39847)
Commit migrated from https://github.com/dotnet/corefx/commit/6737565ccbb8ceb484d349bd6844f7470bf23248
2019-07-29 09:42:13 -04:00
Ganbarukamo41 9be9c570be Enable analyzer for xUnit2000 (Constants and literals should be the expected argument) (dotnet/corefx#39842)
* Enable xUnit2000 analyzer

This commit enables xUnit2000 (Constants and literals should be the expected argument) and apply fixes for the existing violating codes.
* a Massive commit fixing xUnit2000
* fixing some 2003 errors

* Fix mistakes

* Fix missed errors for unix


Commit migrated from https://github.com/dotnet/corefx/commit/93d7aa1c1737b6da29d04b78557215e18eb786d4
2019-07-28 15:47:52 -07:00
Viktor Hofer 4f76a9ffa2 Enable xunit2007 analyzer (dotnet/corefx#39740)
Commit migrated from https://github.com/dotnet/corefx/commit/619f140e2f0e722a17f3797d532b21ace774ec2e
2019-07-24 22:03:09 -04:00
Viktor Hofer 3b96075cb0 Enable xunit2012 analyzer (dotnet/corefx#39730)
Commit migrated from https://github.com/dotnet/corefx/commit/722ab9b7303ef14db74a1d09d464d180f18f512b
2019-07-24 18:20:57 +02:00
William Godbe d285b6c662 Update branding in master to 5.0 (dotnet/corefx#39503)
* Update branding in master to 5.0

* Revert to old AssemblyVersions

* Update to correct package versions

* Update Prerelease to alpha1

* Remove redundant PackageVersions

* Disable index check

* Update packageIndex

* Update PackageIndex again

* Revert incorrect packageIndex versions


Commit migrated from https://github.com/dotnet/corefx/commit/1acaa2017cfc64ef1aabcf3b19d0e097af692616
2019-07-16 15:47:57 -07: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
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Jan Kotas 005c064038 Mark tests exercising CoreLib with TestRuntime tag (dotnet/corefx#32720)
Commit migrated from https://github.com/dotnet/corefx/commit/6b299367382b28ec0b9592bf5b37db48fb02cb67
2018-10-09 12:51:04 -07:00
Paulo Janotti c6efbc3cf4 Coverage do not target CoreLib in bulk (dotnet/corefx#32537)
* Coverage do not target CoreLib in bulk

* Fix 1 project add temp nop to 2 others

* PR feedback: reuse property to disable code coverage

* PR Feedback: add dedicated property to target runtime

* System.Transactions.Local.Tests taking too long on PR


Commit migrated from https://github.com/dotnet/corefx/commit/95eeecb5184e414810bc94fdb496c5748289a720
2018-10-02 06:05:11 -07:00
Eric Erhardt cf57323259 Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/e72643b4aab4b33a33baad1fa74b0551cc2cf739
2018-07-05 19:22:10 -05:00
Viktor Hofer 23cfd28ab4 Cleanup System.Composition
Commit migrated from https://github.com/dotnet/corefx/commit/6b0c1b7b4be9b8085b2ac6d9390834500576b99d
2018-07-06 01:20:52 +02:00
Viktor Hofer 9a76e7c348 Cleanup and remove NS1.0 build from System.Composition.Convention
Commit migrated from https://github.com/dotnet/corefx/commit/f94fb3c50fa23d93fc0e3c645af8d644b8ea97f3
2018-07-06 01:20:52 +02: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 Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
Eric Erhardt 88aa1722bd Clean up projects. Get all projects importing clean with no warnings or errors.
Commit migrated from https://github.com/dotnet/corefx/commit/be5ceb5379738fab0a071f98e63f18496bc0388a
2018-06-12 17:50:54 -05:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Michal Strehovský 2ab3783022 Disable FEATURE_DLG_INVOKE and FEATURE_FAST_CREATE on UapAot (dotnet/corefx#29734)
* Disable FEATURE_DLG_INVOKE and FEATURE_FAST_CREATE on UapAot

dotnet/corefx#28792 broke UapAot platform by introducing reflection on private implementation details of the framework. It's not possible to reflect on non-public classes/members of the framework on AoT platfrorms. While this would be fixable by making `FuncCallInstruction` and friends public (same way `ExpressionCreator` is already public), we need measurements first that demonstrate this is an actual runtime performance improvement on UapAot (e.g. reflection invoke on AoT platforms is 4x faster than on the CLR, but on the other hand `MakeGenericType` random types might make us fall back to universal shared code for the new instantiations, which is pretty bad).

I have reasons to believe enabling FEATURE_DLG_INVOKE and FEATURE_FAST_CREATE also causes a pretty significant size on disk regression.

Fixes dotnet/corefx#29652.

* Add link to issue


Commit migrated from https://github.com/dotnet/corefx/commit/9ab3f57fec3c72fd471c45d2085d40e90640aa3b
2018-05-16 16:27:48 -07:00
Maryam Ariyan aa1bff859d Skipping test on uap-aot because metadata removed for perf reason (dotnet/corefx#29670)
Fixes: dotnet/corefx#29652

Commit migrated from https://github.com/dotnet/corefx/commit/9034a2a79051d99fb74896089131c107dc61bd62
2018-05-14 09:35:21 -07:00
Wes Haggard 90e6643a41 Bump minor versions of all packages produced
Commit migrated from https://github.com/dotnet/corefx/commit/63f6be575c97f3d7ca6406c5de732105892e146a
2018-04-27 14:56:19 -07:00
Wes Haggard fc526e8605 Bump assembly versions for libraries with packages
Commit migrated from https://github.com/dotnet/corefx/commit/6a1b5c0aeee747a535579da7374c05b8d878fb65
2018-04-27 14:56:18 -07:00
Maryam Ariyan b049df6c54 Using System.ComponentModel.Composition vs. System.Composition to get exports (dotnet/corefx#28483)
* Adding test showing using "where" clause in exported interface works fine.

Related to dotnet/corefx#23607

* Applying PR feedbacks

* Using TypeCatalog instead of AssemblyCatalog to export value

* Add tests in System.Composition

* Simplifying arguments to TypeCatalog, only listing the exports

* Moving test


Commit migrated from https://github.com/dotnet/corefx/commit/5830df27f7a3556c1edab91867c5ef926698f1db
2018-03-29 16:16:31 -07:00
Maryam Ariyan a6f350fabb Adding System.ComponentModel.Composition (dotnet/corefx#24921)
Adding System.ComponentModel.Composition

- Ports MEF1 sources
- Removes extra lines
- Removes all [ContractArgumentValidator] attributes
- Replaces old header formats with the usual 3 line license comment in all cs and resx files
- Removing code block on true condition of FEATURE_CAS_APTCA
- Slight update to sln file
- Deleting calls to DemandMemberAccessIfNeeded apis
- Simplifies BinaryCompatibility class
- Changes Requires.NotNull(element, "element"); to Requires.NotNull(element, typeof(element));
- Removes commented out ifdefs and removing suppressmessage Microsoft.Contracts
- Adding private access modifier to unspecified consts and other missing fields
- Fixing configuration for netcoreapp
- Defines constant FEATURE_TRACING
- Removes SecuritySafeCritical annotation
- Removes SLIM_LOCK
- Removes FEATURE_REFLECTIONONLY, keeping the code it wraps.
- Removes FEATURE_REFLECTIONCONTEXT, keeping the code it wraps.
- Removes code in the if block of CONTRACTS_FULL
- Removes the BinaryCompatibility class and the TargetsAtLeast_Desktop_V4_5 flag, since it is always true.
- Removes FEATURE_ADVANCEDREFLECTION, keeping the code it wraps.
- Removes MEF_FEATURE_INITIALIZATION, keeping the code it wraps
- Removes FEATURE_REFLECTIONFILEIO, keeping the code it wraps.
- Change the src project settings to not run apicompat
- Adding comment reasoning why we skipped apicompat. also adding netcoreapp config
- Updating configuration and removing ApiCompatBaseline file
- Update src project
- Simplifying Configurations.props files
- Removes blank line on csproj and adding Condition to not include compile items when not netstandard
- Removes S.CM.C netfx reference from netfxreference.props
- Removes index entry in packageIndex
- Suppress S.CM.C error
- Adds missing ApplicationCatalog. Removing ifdef conditions, Adding APIs to ref
- Code formatting for whitespaces on AssemblyCatalog.cs file
- Removes uap entry from the inbox list for this S.CM.C in packageindex.json
- Disable the tests in netfx which are hitting issue 24903
- Fixing tests in System.ComponentModel.Composition
- Formatting whitespace and indentation
- Removing this keyword
- Removing blank line between switch case lines
- Adding the netstandard configuration in the csproj for VS to understand the build configurations


Commit migrated from https://github.com/dotnet/corefx/commit/6bac4088aadf09a6e4864c78979dc54290015b9d
2017-11-09 20:00:29 -05:00
Hugh Bellamy a5720aa8c8 Add System.Composition.TypedParts tests (dotnet/corefx#20983)
* Add System.Composition.TypedParts test project

* Port RegistrationBuilderCompatability tests to System.Composition.TypeParts where it belongs

* Add System.Composition.TypedParts tests

* Fix a bug that's causing tests to fail


Commit migrated from https://github.com/dotnet/corefx/commit/9c3baf456f0ca5687aa9e393ceb3c58def2b3630
2017-06-22 22:14:08 -04:00
Zach Montoya ff7b44c97e Add ActiveIssue tag to failing tests for failing System.Composition.Tests methods
Commit migrated from https://github.com/dotnet/corefx/commit/e430f1038e616748235190c9ac748f1fd53ef001
2017-06-02 18:02:26 -07:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Wes Haggard e3486cb2bf Clean-up references to old build against packages properties
This removes configurations for build against properties as well
as cleans up some of the Restore-All targets which we no longer
need.


Commit migrated from https://github.com/dotnet/corefx/commit/9df80a47f2314d62a7f307378324246350c21f63
2017-02-22 13:04:25 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Stephen Toub 2c8e5204aa Merge pull request dotnet/corefx#15898 from jkotas/NoWarn
Delete NoWarn's that are not required anymore

Commit migrated from https://github.com/dotnet/corefx/commit/dec64155673f97a7f7a0a12b426a9ea9e0681692
2017-02-07 07:25:13 -05:00
Jan Kotas 5b0ef7c767 Delete NoWarn's that are not required anymore
Commit migrated from https://github.com/dotnet/corefx/commit/71f6a5923535b98678f0d7e71aabf10c5d24b078
2017-02-06 22:10:10 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -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
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
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00