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
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2020-04-06 12:54:10 +0300
committerGitHub <noreply@github.com>2020-04-06 12:54:10 +0300
commit42183b1b86656a348e0b6af7fa7c75072865f759 (patch)
treef178d9b245efa810cbd23597c92429d873c46032 /eng/illink.targets
parent59ca590949ade88c712e4ca8c6835acd0e9cbf46 (diff)
Enable restore for ref and src projects in libs (#33553)
- 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
Diffstat (limited to 'eng/illink.targets')
-rw-r--r--eng/illink.targets9
1 files changed, 9 insertions, 0 deletions
diff --git a/eng/illink.targets b/eng/illink.targets
index d3525a15403..cecc5c2a5a3 100644
--- a/eng/illink.targets
+++ b/eng/illink.targets
@@ -7,6 +7,15 @@
</TargetsTriggeredByCompilation>
</PropertyGroup>
+ <ItemGroup>
+ <PackageReference Include="illink.tasks"
+ Version="$(ILLinkTasksVersion)"
+ PrivateAssets="all"
+ IsImplicitlyDefined="true"
+ ExcludeAssets="build"
+ GeneratePathProperty="true" />
+ </ItemGroup>
+
<!-- Inputs and outputs of ILLinkTrimAssembly -->
<PropertyGroup>
<ILLinkTasksDir>$([MSBuild]::NormalizeDirectory('$(PkgILLink_Tasks)', 'tools'))</ILLinkTasksDir>