* adding the target to automatically calculate package version and assembly version
* set the correct servicing version for serviced packages
* update the docs for servicing
* address feedback
* better comment and fix rev up of assembly version of netfx when assembly version is pinned
* adding '.' after the minor version
* Add Microsoft StrongNameKey back to System.Composition*
* Increment package version for System.Composition*
* Add System.Composition to list for packages to build
Co-authored-by: Viktor Hofer <[email protected]>
- Remove depprojs which currently binplace external references into the RefPath folders in favor of PackageReference and PackageDownload items.
- Build all configurations by default when building an individual project (either on the CLI or inside VS) same as with the official SDK. This enables .NETFramework Test Explorer support.
- Centrally define libraries that compose the shared framework instead of in each Directory.Build.props file to be able to build the targeting pack first and consume it in the OOB libraries.
- Use ProjectReferences to reference OOB projects. Compile against the reference assembly but use the implementation assembly app-local during runtime.
- Remove OOBs from the testhost and remove the testhost folder for .NETFramework as it isn't required anymore.
- Only binplace for $(NetCoreAppCurrent) to compose a) the targeting pack, b) the runtime pack, c) the testhost, d) a full closure for the shims.
- Use Targeting Packs for OOB projects (with their implicit assembly references) but still explicitly define granular references for .NETCoreApp configurations (DisableImplicitAssemblyReferences switch). Use the implicit targeting pack references in some Microsoft.Extensions.* cases.
- Remove placeholder configurations as they aren't needed anymore with explicit P2Ps vs Targeting Pack references.
- Remove implicit assembly references (ie for .NETFramework, mscorlib)
- Remove AssemblySearchPath hacks that were introduced with b7c4cb7 as the targeting pack is now used by default.
- Reduce unnecessary .NETFramework configurations that were added to run tests in favor of the already existing ref&src configurations.
- Stop hardcoding the paths for wasm assemblies and use the returned TargetPath of the ProjectReferences.
- Addressed formatting (ItemGroups, References at the bottom of the project file, ordering of references, use LibrariesProjectRoot instead of a relative path, unnecessary AssemblyName and RootNamespace properties which are identical to the project name, ordering of tfms)
- Revert "fix clean (#33758)"
* Porting new netfx configurations for packages
* Add Netfx configurations to Microsoft.Extensions and missing System packages
* Making sure net461 configurations build against targeting pack assembly versions
* Undo changes to add netfx configurations on reference projects that don't ship in their package
* Fix issue with M.E.FP.P package by removing NetStandard.Library metapackage dependency
* Fix issues with depending on higher version than the one available in net461
* Disable UTF8String verifyClosure on package
* Undo changes to Microsoft.XmlSerializer.Generator
* Update src/libraries/Microsoft.Extensions.FileProviders.Physical/src/Microsoft.Extensions.FileProviders.Physical.csproj
Co-authored-by: Eric StJohn <[email protected]>
Co-authored-by: Eric StJohn <[email protected]>
* 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
* 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
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
* 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
* 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
* 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.
Fixesdotnet/corefx#29652.
* Add link to issue
Commit migrated from https://github.com/dotnet/corefx/commit/9ab3f57fec3c72fd471c45d2085d40e90640aa3b
* 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
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
* 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