From 94edbe8c7e0a1b9e01aabfc7389e39b42d434b77 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Fri, 5 Apr 2024 17:01:38 -0700 Subject: [PATCH] Remove usages of AllRepoVersions.props (#19317) --- eng/Versions.props | 4 +-- src/SourceBuild/content/Directory.Build.props | 3 -- .../repo-projects/Directory.Build.props | 26 ++++++-------- .../repo-projects/Directory.Build.targets | 34 +++++++++++++++++++ .../content/repo-projects/arcade.proj | 6 ++-- 5 files changed, 49 insertions(+), 24 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index f0cf9220a..6dce58f3e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -67,9 +67,9 @@ - 9.0.0-preview.4.24205.2 9.0.0-preview.4.24205.2 9.0.0-preview.4.24205.2 + 9.0.0-preview.4.24205.2 9.0.0-preview.4.24205.2 9.0.0-preview.4.24205.2 9.0.0-preview.4.24205.2 @@ -106,10 +106,10 @@ + 9.0.0-preview.4.24204.1 9.0.0-preview.4.24204.1 9.0.0-preview.4.24204.1 9.0.0-preview.4.24204.1 - 9.0.0-preview.4.24204.1 diff --git a/src/SourceBuild/content/Directory.Build.props b/src/SourceBuild/content/Directory.Build.props index 9b1dbb231..e511a2795 100644 --- a/src/SourceBuild/content/Directory.Build.props +++ b/src/SourceBuild/content/Directory.Build.props @@ -186,7 +186,6 @@ $([MSBuild]::EnsureTrailingSlash('$(CustomPrebuiltSourceBuiltPackagesPath)')) $([MSBuild]::NormalizeDirectory('$(PrereqsDir)', 'git-info')) - $(GitInfoDir)AllRepoVersions.props $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'prebuilt-report')) $([MSBuild]::NormalizeDirectory('$(PackageReportDir)', 'prebuilt-packages')) @@ -215,6 +214,4 @@ $(PackageReportDir)poisoned.txt - - diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.props b/src/SourceBuild/content/repo-projects/Directory.Build.props index 035031477..5735e9fd5 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.props +++ b/src/SourceBuild/content/repo-projects/Directory.Build.props @@ -181,22 +181,16 @@ - - - - - - - + + - - - - - + Location="$(BootstrapPackagesDir)microsoft.dotnet.arcade.sdk/$(ArcadeBootstrapVersion)" /> + + + - + @@ -242,7 +236,7 @@ - + diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.targets b/src/SourceBuild/content/repo-projects/Directory.Build.targets index c339e45b7..f2c808e95 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.targets +++ b/src/SourceBuild/content/repo-projects/Directory.Build.targets @@ -342,7 +342,40 @@ RunEachTargetSeparately="$(RunEachTargetSeparately)" /> + + + + <_ArcadeSdkName>Microsoft.DotNet.Arcade.Sdk + + + + + <_BuiltArcadeSdkPackage Include="@(DependentRepoPackageFile)" + Condition="!$([System.String]::new('%(Identity)').EndsWith('.symbols.nupkg')) and $([System.String]::new('%(Identity)').Contains($(_ArcadeSdkName)))" /> + + + + <_BuiltArcadeSdkPackageVersion>$([System.String]::new('%(_BuiltArcadeSdkPackage.FileName)').Substring($([MSBuild]::Add($(_ArcadeSdkName.Length), 1)))) + + + + + + + + + + + + + @@ -363,6 +396,7 @@ UpdateGlobalJsonVersions; UpdateEngCommonFiles; CreateBuildInputProps; + DiscoverArcadeSourceBuiltSdkOverrides; SetSourceBuiltSdkOverrides"> diff --git a/src/SourceBuild/content/repo-projects/arcade.proj b/src/SourceBuild/content/repo-projects/arcade.proj index 90189525b..2f4df5612 100644 --- a/src/SourceBuild/content/repo-projects/arcade.proj +++ b/src/SourceBuild/content/repo-projects/arcade.proj @@ -10,9 +10,9 @@ - - - + + +