From 3df829274376bbf1585dcea9489811348d289529 Mon Sep 17 00:00:00 2001 From: Maryam Ariyan Date: Sun, 1 Mar 2020 13:29:25 -0800 Subject: [PATCH] Update build scripts to enable Microsoft.Extensions projects incrementally - BinPlacing for Extensions projects - Ignore building Microsoft.Extensions. projects - Use correct StringNameKeyId for Extensions projects - Separate packaging path for extensions projects - Add PreReleaseVersionIteration --- eng/Versions.props | 1 + src/libraries/Directory.Build.props | 14 ++++++++++++++ src/libraries/Directory.Build.targets | 4 ++++ 3 files changed, 19 insertions(+) diff --git a/eng/Versions.props b/eng/Versions.props index d4c26a5cbe63c9..0af9ea49bfbf0f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -8,6 +8,7 @@ 0 preview 2 + $(PreReleaseVersionIteration)-runtime $(MajorVersion).$(MinorVersion).0.0 diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 80c88beb4f6a2c..7e83270bcc1392 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -4,6 +4,17 @@ + + + + + + + + MicrosoftAspNetCore + true + + $(RepoRoot)artifacts\toolset\Common\ $([System.Text.RegularExpressions.Regex]::IsMatch($(MSBuildProjectDirectory), 'src%24')) @@ -311,6 +322,9 @@ $(ArtifactsBinDir)pkg\$(NetCoreAppCurrent)\ref $(ArtifactsBinDir)pkg\$(NetCoreAppCurrent)\lib + + $(ArtifactsBinDir)pkg\aspnetcoreapp\ref + $(ArtifactsBinDir)pkg\aspnetcoreapp\lib $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'testhost', '$(BuildSettings)')) diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 08c6d77720f6b3..2d5b32f022e8ca 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -66,6 +66,10 @@ ILLinkTrimAssembly=true + + $(ASPNETCoreAppPackageRuntimePath) + $(ASPNETCoreAppPackageRefPath) +