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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-14Avoid unnecessary or duplicate PackageReferences - 7.0 Preview4 SDK work ↵Viktor Hofer
(#69260) * [WIP - Validation] Update the SDK to Preview4 * Avoid duplicate PackageReference * Fix duplicated PackageReference * Remove duplicate PackageRefs * Update llvm-init.proj * Update global.json * Update xunit.props
2021-06-09Run libraries package testing on build agent (#53905)Viktor Hofer
* Run libraries package testing on build agent instead of on Helix as with recent changes the entire package testing doesn't take more than 2 minutes. Helix created a work item per package test even though it only took seconds and the average wait time for a client was 10-15min. Also cleaning up how the generated package test projects are restored and incorporating a fix from Eric St John to not hard code the package feeds. * Expose useHelix argument
2021-05-14Add Analyzer packaging support and packaging documentation (#52554)Eric StJohn
* Add Analyzer packaging support and packaging documentation To package Microsoft.Extensions.Logging.Abstractions we needed support for packing an Analyzer. This adds that support. I wanted to document this addition, so I created the start of a doc that's meant to describe the packaging options for libraries in dotnet/runtime. * Address code review feedback. * More feedback * Address more feedback * Remove src.proj build of generators * Update to use Microsoft.DotNet.PackageTesting * Fix typos * Fix package testing on net46*
2021-03-22use packages instead of package report for packageInstallation and closure ↵Anirudh Agnihotry
verification (#49315) * use packages instead of package report for packageInstallation and closure verification * add the package dependency * correct the names * excluding freebsd from testing * Update Versions.props * update the package versions, add support for exclude pakcages and packages to test * update the package validation version * Make package testing work indepent of version * testpackages -> testpackagesPath * fix restore or when no packages are produced * correct the no packages produced condition * use regex instead of major version
2021-03-12Update SDK's target version to 6.0 Preview 2 (#49509)Viktor Hofer
* Update target version of SDK to 6.0 preview 2 Not updating the minimum required version as that's considered a breaking change that needs to go through the monthly infra rollout. * Remove msbuild hack in Tools.props * Remove sendtohelixhelp hack with P1 SDK
2021-02-25Remove duplicated ILLink PackageReference and update target version of the ↵Viktor Hofer
SDK to 6.0 (#48462) * Remove duplicated ILLink PackageReference The Arcade.SDK already package refrences the ILLink package. The duplicate reference in illink.targets caused SDK errors as the Arcade reference has IsImplicitlyDefined set which doesn't allow an additional reference with the same identity. Also, as the ILLink package already exposes the path to the assembly via its props file, using that instead of manually constructing the path to the assembly. The SDK target version update is required as the sequencing of the ILLink.props file was wrong and is required for this change. This isn't considered a breaking change, as the SDK's minimum required version isn't changed. * Update arcade dependencies * Remove NuGet pack tasks pkgref * Add mega hack workaround * Remove KnownFrameworkReference items * Don't hardcode SDK value in helix submission... * Update runtimeConfiguration.targets * Fix double publishing error in mobile tests * Set DotNetCliVersion to right version for aspnetcoreruntime * Update sendtohelixhelp.proj * Update sendtohelixhelp.proj Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
2020-06-18Enable source link for Microsoft.Extensions.HostFactoryResolver (#38009)Eric StJohn
2020-04-06Enable restore for ref and src projects in libs (#33553)Viktor Hofer
- Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds. - .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set. - Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently. - Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions. - Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase. - Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola) - Remove a few depprojs in favor of project restore (faster restore :)) - Fix root code coverage measurement not working correctly - Traversal support instead of dir.traversal.targets or manual build target defines. - Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint. - Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj) - Upgrading the SDK to 5.0 latest - Code cleanup
2020-03-21Delete repo tools manifest in CI to fix CI errors (#33871)Viktor Hofer
An updated SDK with the net5.0 tfm change seems to break dotnet repo tool restore, presumably because multiple compatible tfms are found. Working around this by deleting the repo tools manifest file until the issue is fixed.
2020-03-10Revert "Enable restore for ref and src projects in libraries (#33242)" (#33437)Viktor Hofer
This reverts commit 981cc64bc42eeed5c5634ad8f3680398039603cc.
2020-03-10Enable restore for ref and src projects in libraries (#33242)Viktor Hofer
* Enable restore for projects in libraries Enabling project restore for ref and src projects * Remove winrt.depproj * Remove tools.depproj * Enable upfront restore * Fix casing of PInvokeAnalyzerException file * Remove harvestPackages.depproj and refactoring Removing havestPackages.depproj in favor of a target that is hooked into Arcade's repo restore phase in Tools.props. Additionally moving common properties that are used both in Arcade and the repo inside Configurations.props. Before they were scattered around multiple places (Versions.props, Subsets.props). * Set ilasm/ildasm RID for restore * Sequence restore into steps out of upfront restore * Fix docker entrypoints by using build.cmd/sh
2019-12-13Local live-live builds (#494)Jeremy Koritzinsky
* Convert libraries and installer to use a live CoreCLR. * Installer uses a live libraries build for DLLs. * Remove newline in path. * Enable live-live builds to build required live dependencies when the dependencies are in the building subset/subset category. * Update path to coreclr output. * Fix typo in coreclr.proj. * Remove last usage of CoreCLRPDBOverridePath. * Update path of binplaced runtime to include OS and Arch. * Fix typo in coreclr/tests/src/Common/Directory.Build.targets. * Restore CoreFX shared framework from live build for CoreCLR test dependencies. * Remove dependency on Microsoft.NETCore.CoreCLR.TestDependencies package. * Enable referencing live builds of the OOB libraries by temporarily adding a new BinplaceConfiguration. Update test_dependencies in the CoreCLR tree to use that to restore OOB libraries. * Remove reference to System.Drawing.Common from NETClientPrimitives (the reference is only needed at runtime and Core_Root already has System.Drawing.Common). * Remove package-based checked CoreCLR + CoreFX test runs. In the live-live world, we'll run this test configuration by pointing the CoreFX test host build step at the artifacts from a checked CoreCLR build (possible in both local and CI builds). * Only copy the UCRT on Windows. * CoreCLR test build now builds against a live libraries sfx+oob ref assembly set. * Override GetCorePackagePaths target to not reference unused packages (breaks the live-live build on a clean system). * Remove live references to Microsoft.NETCore.Platforms now that it seems to be unneeded since the SDK now packages a RID graph. Use the live RID graph in test_runtime.csproj where we may actually be looking for the live RID graph. * Fix coreclr build arg generation bug that was causing build failures. * Remove references to Microsoft.NETCore.Platforms outside of package references from the installers. * Fix problems in installer build in live-live that were found from a clean build. * Remove unused dependency on Microsoft.NETCore.Targets. * Fix Microsoft.NETCore.App -> Microsoft.NETCore.Platforms dependency. * Remove Microsoft.NETCore.Targets version from Versions.props. * Remove unused deps.csproj file that was the last dependency on the packaged Microsoft.NETCore.Platforms package. * Fix OSGroup calculation for dependent projects off-Windows. * Fix construction of Microsoft.NETCore.App.Internal package. * Remove unneeded CoreRun copying. * Serialize subsets that have dependencies across subset groups. Don't use `<MSBuild />` tasks to rebuild subsets since we don't want to rebuild projects multiple times (coreclr was being built multiple times). * Cleanup from PR feedback. * Only copy libraries outputs to artifacts/bin/runtime. * Use the netcoreapp output directories for OOB-included references to libraries outputs. * Remove references to deleted old corefx override setup. * First pass to get new runtime pipeline using the local live-live infra (coreclr+libraries only for now). * Don't generate layout during test native build. * Fix ref assembly default binplacing for netcoreapp. * Remove msbuild goo around importing Subsets.props and Directory.Build.props only once each. This goo isn't needed anymore. * Fix disabling of binplacing for the target vertical to exclude only runtime.depproj and not exclude winrt.depproj. * Fix libraries test build. * Copy all paths used by the "ResolveLibrariesFromLocalBuild" target to publish from libraries build. * For shims, reference the System.Private.CoreLib directly from CoreCLR outputs instead of through runtime.depproj. * Hard-code the libraries configuration to release in coreclr test builds. * Resolve ReferenceFromRuntime items directly from the CoreCLR output instead of via the runtime.depproj project. * Fix test host generation. Fix running the XML Serialization generator as part of libraries test build. * Fix XmlSerializer.Generator.Tests again. * Don't look for CoreCLR files when using ReferenceFromRuntime and not using netcoreapp. * Crossgen-comparison should depend on a libraries build so we can populate Core_Root. * Add job dependency on libraries build from run-test-job to ensure we wait correctly. Otherwise we might have a race since the managed test build might depend on one libraries build while the test run depends on another. * Only resolve coreclr files from local build when targetting netcoreapp. * Add steps to download libraries build for crossgen-comparison. * Revive old method of resolving references to the runtime for building against old netcoreapp (ie netcoreapp 3.0). Fix correctly passing along aliases info. * Fix failing AllConfigurations leg that was due to the netcoreapp runtime.depproj getting binplaced in the runtime output folder. * Update eng/liveBuilds.targets Co-Authored-By: Davis Goodin <dagood@users.noreply.github.com> * HostArch->BuildArchitecture and share with installer. * Fix format nits. * Update YAML variable name. * Remove setting property to import liveBuilds.targets. * Upload docs and packages folders from libraries build * Inclue doc files in the Microsoft.NETCore.App.Internal package * Try making the runtime-installer pipeline live-live using the build-coreclr-and-libraries-job template. * Update artifacts download paths and msbuild properties for installer build. * Mark cross-component files as native. * Remove FrameworkPackageName to remove error about missing $(FrameworkPackageName).versions.txt file that other shared frameworks also don't generate. * Restore GetFilesFromPackageResolve override. * Don't clean the unpack folder for the libraries download. It wipes out the CoreCLR download. * Make sure that we restore the WinRT targetting pack during the installer build. * Add libraries package directory to RestoreSources for the case where the LibrariesConfiguration is different from the installer build configuration. * Don't pass OfficialBuildId unless it is an official build. We want to be consistent with the libraries build so our package versions match. * Give default value for OfficialBuildArg variable * Ensure installer tests can see the libraries-generated packages. Fix typo in TargetPath for CoreCLR assets (runtime instead of runtimes). Fix paths for CoreCLR cross-target files as well as crossgen to place them in the correct directories. * Add back FrameworkPackageName to get the partial platform manifest to generate.
2019-12-01Converge common msbuild properties and targets (#338)Viktor Hofer
* Converge common msbuild properties and targets Moving common msbuild properties and targets into the repo root. * Consolidate analyzers logic into the repo root Consolidating msbuild analyzers logic centrally in the repo root and adding a property switch `EnableAnalyzers` to enable analyzers. We still need to import the Analyzers.props file unconditionally as libraries currently doesn't use the PackageReference logic in ref and src projects and instead uses a depproj to create a props file dynamically. * More cleanup to fix CoreLib build
2019-11-14Initial runtime repository structuredotnet-bot