Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-19Replace 'enlistment' with 'repo' in a few places (#24732)MaxHorstmann
"Enlistment" is a term for what in today's git world is now commonly called a "repo". Updating this in a few places to avoid confusing compiler errors.
2017-09-05Add BinPlaceConfiguration for test projects to have a working directory per ↵Santiago Fernandez Madero
BuildConfiguration (#23633) * With this change we will have the next behavior when building/running tests: -When building the tests we will still bin place the test assets to the OutputDirectory (corefx\bin\OSGroup.Configuration\TestProject\TargetGroup/) -When running the tests we will bin place the tests assets to this new TestPath which will be the TestPath. This new path will be the test's working directory where we will bin place the RunTests.cmd and necessary dependencies in tests.targets. Also the testResults.xml will be found here after the test execution. -TestPath is set to be bin/tests/<TestProject>/<BuildConfiguration>/ (i.e corefx\bin\tests\System.Collections.Immutable.Tests\netcoreapp-Windows_NT-Debug-x64) in dir.props -This TestPath will be added to the BinPlaceDir in FrameworkTargeting.targets when BinPlaceTest is set to true. Then in the BinPlaceFiles target the test assets will be hardlinked to the TestPath. This will isolate every test execution per build configuration and will allow people to run the same test project for all of the supported configurations on the same repo without having to clean the repo.
2017-08-29Remove NetFx support libsEric St. John
Now that we've shipped the NETStandard support package we will no longer build its content from `master`. It will be serviced from the `release/2.0.0` branch and the only netfx builds in `master` will correspond to package content.
2017-08-15Ensure packages continue to build for NETCoreApp2.0Eric St. John
These are for packages that are outside of the shared framework. We shouldn't make them cross-compile for netcoreapp2.1 just because master has moved to that. Instead we'll make them continue to target netcoreapp2.0. Two cases we want to cross-compile are OpenSsl and Cng since these have already started taking advantage of API added in NCA2.1 (span). For this we'll cross-compile and redist the old netcoreapp2.0 implementation. Two other special cases are System.Memory and System.Runtime.CompilerServices.Unsafe. In these cases we wanted to keep them targeting netcoreapp (netcoreapp2.1) and make their portable implementations apply for netcoreapp2.0.
2017-07-04Renaming uap10.1 to uap10.0.15138Jose Perez Rodriguez
2017-06-09Changing binplace configurations so the default only contains TargetGroup ↵Jose Perez Rodriguez
and OSGroup
2017-05-24Respond to PR feedbackEric Mellino
2017-05-24Add a "GenerateReferenceAssembly" target and generate four assemblies.Eric Mellino
* The GenerateReferenceAssembly target can be run as a manual step on a project. When run, it produces a source code file <Assembly>.cs, in the reference assembly folder for the library. This source file can be used to compile an equivalent reference assembly. * Use the target to generate reference assemblies for the following libraries: * System.Collections.Immutable * System.Reflection.Metadata * System.Threading.Tasks.Dataflow * System.Threading.Tasks.Extensions
2017-04-28Move more common stuff into BuildToolsWes Haggard
2017-04-28Move local corefx targets/tasks to BuildToolsWes Haggard
This change mostly deals with moving Tools-Override and CoreFxTools task library to BuildTools and consuming them from there instead.
2017-04-25Merge pull request #18766 from ericstj/removeIsDesktopFacadeEric StJohn
Remove IsDesktopFacade
2017-04-25Ensure BuildAllConfigurations produces all RefPathsEric St. John
2017-04-25Remove use of IsDesktopFacadeEric St. John
2017-04-21Never use UAP-aot configuration for referencesEric St. John
I found a couple issues where we were incorrectly configuring projects that produced references as UAPAOT. I fixed these, but I'd like to make that impossible. This does that by using the uapaot configuration for reference selection.
2017-04-21Make desktop ns2.0 support package support net47Eric St. John
We need to support differing ref/impl per version of desktop until it adds inbox support for ns2.0. To do this I've made the netfx build also build for net462 and net47. Then I've moved the files into framework-specific folders for each TFM. For a given TFM it will prefer the files in its own folder then fallback to the previous TFM if it doesn't have that file.
2017-04-13Add dll to netfx references to force bindingRedirectsEric St. John
This dll has a reference to the earliest version of every contract desktop ever shipped. This will ensure that RAR sees conflicts and adds binding redirects.
2017-04-12Add NETStandard.Library.NETFramework packageEric St. John
This package is a support package for NETStandard2.0 on .NET 4.6.1.
2017-04-07Change netfx vertical test build and execution to be able to have helix runs ↵Santiago Fernandez Madero
(#17975) * Change netfx vertical test bin placing and execution to be able to have runs in helix
2017-04-05Update ILLinkTrimAssembly conditionEric St. John
Make it so that we don't set ILLinkTrimAssembly if its already set.
2017-04-03Add ILLink to the buildEric St. John
This adds ILLink (a .NET Core build of the mono linker) to the build tools and uses it to trim non-public unreachable IL and metadata from our assemblies. This is enabled by default for any assembly that is part of NETCore.App. This can be disabled by setting ILLinkTrimAssembly=false. In some cases ILLink may trim too much, for example a runtime dependency via reflection on private or internal API. If we cannot update ILLink to understand this dependency via heuristic then we can manually "root" the private or internal API. This is done by adding an XML file next to the project with the name ILLinkTrim.xml that follows the format documented here: https://github.com/mono/linker/blob/master/linker/README
2017-03-24Merge in change for the new 'BinPlaceNETCoreAppPackage' property.Eric Mellino
2017-03-24Set default value for EnableBinplacing in FrameworkTargeting.targetsEric Mellino
* Reorder some things in dir.targets to accomodate that.
2017-03-24Set default for BinPlaceUseHardLinksIfPossible in FrameworkTargeting.targetsEric Mellino
2017-03-24Address PR feedbackEric Mellino
* Cleaner separation of corefx concepts from stuff in FrameworkTargeting.targets * Fix the value of AdditionalCleanDirectories (unrelated cleanup).
2017-03-24Move contents of binplace.targetsEric Mellino
* The targets themselves are now located in FrameworkTargeting.targets. This will let us easily merge them back into buildtools, where the common logic should live * The specific properties used in corefx are now in dir.targets.
2017-02-02Make ReferenceFromRuntime use project referenceEric St. John
ReferenceFromRuntime for src projects isn't safe. It allows any source project to reference the output of another source project without properly sequencing the build. This fixes that by changing ReferenceFromRuntime to instead use a ProjectReference to the runtime project for the building configuration and filter that to just the files requested. I also completely block the use of ReferenceFromRuntime in test projects
2017-01-06Merge branch master into dev/engJose Perez Rodriguez
2017-01-04Add Configurations.props files for test projects, include tests in ↵Eric Mellino
build.proj (#14663) * [WIP]Created src\tests.proj which is mostly building all tests * Convert test project .builds to Configuration.props * Fix test paths in targetingpack.props, move test-runtime. * Move test-runtime under external. * Rename RuntimeDir->RuntimePath in targetingpacks.props and Xunit.Runtime.depproj. * Remove test-runtime project.json from the SupplementalTestData list in dir.targets. * Remove XUnit.Runtime.depproj from tests.proj * Convert test .builds files to Configuration.props. * Revert "Convert test project .builds to Configuration.props" This reverts commit 1efc4d9a02d1c2eced0f20a544abcbcd0092f40c. * Fix compilation error in System.Collections.Concurrent.Tests * Fix condition in System.Collections ref project * Fix two more Collections test project issues * Add Configuration.props for System.Collections ref * Fix TargetGroup conditions in System.Collections.Tests.csproj. * Fix compilation problems with NameResoltion.Pal.Tests. * Fix compilation errors in SqlClient Stress tests * Fix IO.Compression.Performance tests compilation * Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj. * Fix compilation issues in System.Private.Xml.Linq tests * Disable XsltScenarios.Tests project, like it was before. * Fix missing DefineConstants for System.Linq ref project. * Fix compilation of System.Net.Primitives.Pal.Tests.csproj * Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj * Fix compilation of System.Security.Cryptography.Cng.Tests.csproj. * Fix compilation of System.Net.Primitives reference project * Fix compilation of System.Net.Security ref project * Fix compilation of SYstem.Net.Security.Tests.csproj * Fix configuration of X509Certificates ref project * Fix compilation errors in System.Net.Http.Unit.Tests.csproj * Fix Common.Tests.csproj * Fix System.Diagnostics.Debug.Tests.csproj * Fix Microsoft.Win32.Registry.Tests.csproj * Add runtime.native.System.Data.SqlClient.sni to external project * Fix System.Diagnostics.TraceSource.Tests.csproj * Fix System.IO.Compression.Performance.Tests.csproj * Move supplemental test data into test-runtime/project.json * Fix System.IO.FileSystem.Watcher.Tests.csproj * Fix System.IO.FileSystem.Tests.csproj * Fix System.IO.Pipes.AccessControl.Tests.csproj * Fix System.IO.MemoryMappedFiles.Tests.csproj * Fix System.IO.Pipes.Tests.csproj * Fix System.Json.Tests.csproj * Add missing supplemental test data for net security tests * Fix resource names in System.Xml.XPath.XDocument.Tests.csproj * Fix Assembly.Location test case * Fix assembly loading paths in DefaultLoadContextTest.cs * Fix issues in System.Runtime.Loader.Tests.csproj * Fix RootNamespace in ResourceManager tests * Mark OpenSSL tests as unsupported on Windows * Fix RootNamespace in System.Xml.XPath.Tests.csproj * Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj * Fix System.IO.Compression.Tests.csproj * Add missing Configurations.props files for System.Net projects * Fix compilation issues in WinHttpHandler tests * Add fixes and a workaround for Linq.Expressions tests * Add workaround for System.Runtime.Tests * Use extension methods explicitly in Ref.Emit tests * Hook up test projects into build * Fix build configuration of Crypto.Primitives for netcoreapp * Enable VB tests outside Windows * Enable Mail tests outside windows * Don't run Unsafe tests outside windows * Don't build Unsafe tests outside Windows * Don't build WebServer project outside of Windows. * Fix corerun path for Unix tests. * Fix casing of 'Native' directory in NETCoreApp private pkgproj * Remove runtime-specific stuff from Xunit.Runtime.depproj * Move tests into a separate project ('tests.msbuild') which isn't built in build.proj * Remove duplicate types from NameResolution.Pal tests * Skip tests in a project if there is no compatible configuration. * Include internal socket types only on Windows in NameResolution tests * Manually fix S.R.InteropServices configurations * Rename tests.msbuild -> tests.builds * Manually fix System.Text.Encoding.Tests.csproj configuration * Manually fix System.Threading.Tests configuration * Manually clean up System.Runtime.Tests.csproj * Fix System.IO.FileSystem.Tests configurations * Manually fix System.Globalization.Tests configurations * Manually fix System.IO.Pipes.Tests configurations * Manually fix System.IO.Compression.Tests configurations * Manually fix System.Runtime.Extensions.Tests configurations * Manually fix System.IO.MemoryMappedFiles.Tests configurations * Manually fix S.Diagnostics.Process.Tests configurations * Manually fix System.ComponentModel.TypeConverter.Tests configurations * Misc PR feedback. * Use HostRunnerName instead of HostRunner in Process tests * Fix configurations for S.ServiceProcess.ServiceController.Tests * Revert to using ConfigurationErrorMsg to check if tests should be skipped. Configuration still defaults to 'Debug' even if there is no valid configuration.
2016-12-17Use static configurations for building a vertical (#14489)chcosta
* Build each configuration of corefx tools * Fully qualify path to props files for import * Build using static configurations * Package build, ignore references to System.Threading.Overlapped and System.Runtime.Serialization.Formatters which aren't being built at the moment. * Rename target * Remove unintentional add of baseline file * Configuration fixes, fix typo in netci.groovy, re-enable specifying OSGroup property * Interim build, overbuilds reference assemblies * Reduce to passing Configurations * Fix traversal, undefine configuration for contract projects, remove trimunconverted (not used) * lower message importance * Minor fixes, changing messages, fixing comment * system.runtime.extensions contract causes binclash because it requires a configuration. temporarily disable configuration * Fix trimming of projects * Eliminate circular dependency in package build * Fix OSX build * Cleanup, less msbuild invocations
2016-12-14Use Win32 API lists from buildtoolsJohn Chen (CLR)
Remove the local copies of Win32 API lists, and use the lists from buildtools instead. Fixes issue #13738.
2016-12-14Clean-up batch restoring of packages.Wes Haggard
This cleans out a lot of the project.json batch restoring, validation, and generation from the build.proj. Also enables restoring of packages for individual projects again. We well eventually move all projects that need restoring under external so we can keep them isolated from the rest of the build.
2016-12-12Enable build tests against packages as the default testing scenarioKarthik Rajasekaran
Currently we build and test in CI differently from the official pipeline. This change will help reduce inconsistencies in the way in which we build to expose issues sooner. The build will now build the product as packages, install them locally, restore the test-runtime deps for the locally built versions and then test them. The locally built packages are installed to the localpackages folder and the LKG set restored goes into the packages folder. Tests will only restore against locally built packages as a source and then copy the required LKG dependencies like specific runtime dependencies that aren't built locally. The localpackages are overwritten each time a build occurs so that only one version remains in the folder. Other changes required to make this work: - Add missing runtimes in the supports clause - Add LKG runtime packages not produced by the build
2016-12-10vertical build port to Dev/eng [Do not merge] (#14171)chcosta
* Vertical build changes * Build a vertical in dev/eng * remove repro.bat from check-in * Remove defaulttargetgroup from configurations.props files * Remove configurations.props from test libraries * Additional configuration files, updating traversal. * Add default configurations for ref projects * Remove default targetgroups, disable code analysis (currently breaking the vertical build). * Build vertical using Eric's changes to configurations * Minor fixes to build from a clean enlitment * Set targets properties in dir.props * Make vertical build the default * Include building src\tools in init-tools.cmd * Add linux init-tools * Fix msbuild.sh command * Add build tools message to Linux * Revert init-tools, investigate building corefx tools tomorrow * Update configurations, remove empty targetgroup from all projects, modify most conditionals to be positive conditions instead of negative * Remove unneccessary generateprojectconfigurations project * Build CoreFx.tools in init-tools * Can't build corefx.tools in init-tools because packages aren't restored * Hack build to build refs first * Slightly less hacky reference project build, but still kind of hacky... * Align properties for ref builds to prevent binclash and overbuilding * Update BeforeTarget for rename * Rework traversal to work with ref and corefx tools projects * Add target for builds projects * Fully qualify paths to projects * Fully quality path name for corefx.tools * testing removing osgroup from groovy on Windows * Remove OSGroup from config.json * revert change to groovy * return os property * Try changing osgroup to hostos * hack around osgroup setting * Fix passing groups * Add system.collections which was missing from system.console * Add some missing references for Unix build * Add references for unix * Unix support changes * Fix typo in system.net.http * Fix typo in system.threading.overlapped * no ref project available for system.reflection.metadata * Unix changes * Exclude system.memory * diagnostics.fileversioninfo was missing reference to Path * Unix changes * Fix reference name * Add reference for unix * Move source file to windows only * Disable building system.threading.overlapped
2016-12-07Delete project.jsonsJose Perez Rodriguez
2016-11-30[dev/eng] Overhaul ref and src project references, and start binplacing ↵Eric Mellino
things (#14062) * Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref * Update refs to build with ProjectReference's instead of package references This deletes all the ref\project.json files and instead adds ProjectReference to other refs that are used to build. There is only one exception which was System.Net.Http which needed a project.json to get the net46 targeting pack otherwise everything else is P2P. * Update Reflection.Emit contracts to support latest version of contracts * Add depproj to get windows.winmd support when building refs * Special handle System.Net.Http ref project to deal with net46 targeting pack * Moved CLSCompliant to SecureString ctor instead of type * Add P2P reference from S.IO -> S.R.Extensions * Add additional ProjectReferences to more ref projects after master rebase * Start binplacing ref assemblies and disable rest of build * Simplify all ref projects to only build for netcoreapp (default target group) * Only binplace netcoreapp refs * Allow Reference's to be resolved from targeting pack directories * Use GenerateBuilds.ps1 to convert src project.json refs to References * Allow overriding stuff in Tools * System.Runtime src project building against targeting pack * Re-purpose GenerateBuilds.ps1 to re-write src references * Only build csproj files in src.builds * More custom stuff in GenerateBuilds.ps1 * Binplace all netstandard assemblies into netcoreapp as well. * Add project.json to System.Collections.Immutable * More custom generatebuilds.ps1 stuff * Normalize csproj files before running GenerateBuilds.ps1 * Better match the replaced 'None Include="project.json"' line. * Another missing project.json inclusion in csproj * Remove ExcludeFromCodeCoverageAttribute from Immutable project * Include another project.json * Add some P2P references * Add another project.json include * Disable Http.Rtc project. * Disable two more UWP projects and another P2P ref" * More Cleanup * Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s * Binplace netstandard runtime assemblies to netcoreapp as well. * Re-hook all src projects into build.proj * Fix bin clashing caused by bad ProjectReference metadata * Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well. * Correct casing of windows.winmd in depproj * Disable System.Memory.csproj outside of Windows * Fix unix exclusion of System.Memory, and include vbproj files * Fix VisualBasic compilation * There was an extra definition of MemberTypes that was internal to the assembly. It's now defined in System.Private.CoreLib, so I deleted the extra here. * There was an invalid call in Operators.vb that I fixed. * Add additional project references and configuration fixes after rebase * Fix build warnings in ref projects * Fix build warnings in src projects
2016-11-16Re-enable PInvoke analyzer, and fix issues foundJohn Chen (CLR)
2016-10-28Remove workaround for source index. (#13091)Alex Perovich
The code for building the source index is now here: https://github.com/dotnet/source-indexer
2016-10-18Include the correct generated lockfile when building against packagesKarthik Rajasekaran
2016-10-18Clean up dir.targetsKarthik Rajasekaran
2016-10-18Fix ordering on dir.target PropertyGroupKarthik Rajasekaran
Move CommonTestProjectJson Properties to build.proj
2016-10-18Rearrange order of property groupsKarthik Rajasekaran
2016-10-18Adding SkipGenerateTestProjectJsonKarthik Rajasekaran
2016-10-18Combine test dependencies into a common project.json.Karthik Rajasekaran
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.
2016-10-07Add Source Index generation project (#12326)Alex Perovich
* Add Source Index generation project * Add error and fix bad working directory * Remove .builds file GetTargetPath * Address nits * Add a proper ending tag.
2016-10-05Update project ToolsVersions to 14.0 (#12355)Alex Perovich
2016-09-19Add Path.GetRelativePathJeremy Kuhne
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
2016-09-02Changes required to have dev/api building again after mergeJose Perez Rodriguez
2016-09-01Merge remote-tracking branch 'upstream/master' into dev/apiJose Perez Rodriguez
2016-09-01Enable netcoreapp1.1 tests to run as part of the CI build (#11236)Jose Perez Rodriguez
Enable netcoreapp1.1 tests to run as part of the CI build
2016-08-20Initial prototyping of produces api for corefx repo (#11003)chcosta
* Initial prototyping of produces api for corefx repo * Fix spacing