diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 3f9a08012..59526b0ca 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -369,18 +369,15 @@ stages: parameters: vmrBranch: ${{ parameters.vmrBranch }} -# TODO: Disable source-build builds in PR validation until source-build is more sustainable -# Tracking issue: https://github.com/dotnet/source-build/issues/3214 -# # In case the VMR Build stage needs to be temporarily disabled, please make sure that # the VMR synchronization step is run to validate that the PR can be merged and later # synchronized into the VMR without problems. # You can do this by allowing the Synchronize_VMR stage from above in PRs. -# - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: -# - template: eng/pipelines/templates/stages/vmr-build.yml -# parameters: -# vmrBranch: ${{ parameters.vmrBranch }} -# isBuiltFromVmr: false +- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: + - template: eng/pipelines/templates/stages/vmr-build.yml + parameters: + vmrBranch: ${{ parameters.vmrBranch }} + isBuiltFromVmr: false - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - stage: Publish diff --git a/src/SourceBuild/content/eng/Versions.props b/src/SourceBuild/content/eng/Versions.props index f68ff9865..c2dc06d8a 100644 --- a/src/SourceBuild/content/eng/Versions.props +++ b/src/SourceBuild/content/eng/Versions.props @@ -24,6 +24,6 @@ or minor release, prebuilts may be needed. When the release is mature, prebuilts are not necessary, and this property is removed from the file. --> - 7.0.100.2 + 0.1.0-8.0.100-2 diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.props b/src/SourceBuild/content/repo-projects/Directory.Build.props index 337b9df49..3c2b19901 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.props +++ b/src/SourceBuild/content/repo-projects/Directory.Build.props @@ -15,6 +15,7 @@ $(LoggingDir)$(RepositoryName).log >> $(RepoConsoleLogFile) 2>&1 true + net8.0 $(ProjectDirectory)artifacts/packages/$(Configuration)/NonShipping/ @@ -68,7 +69,7 @@ - + diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.targets b/src/SourceBuild/content/repo-projects/Directory.Build.targets index d10278261..54316ef95 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.targets +++ b/src/SourceBuild/content/repo-projects/Directory.Build.targets @@ -107,45 +107,16 @@ Condition="'$(EngCommonToolsShFile)' != ''" Inputs="$(MSBuildProjectFullPath)" Outputs="$(RepoCompletedSemaphorePath)UpdateBuildToolFramework.complete" > - - - - logger_path="%24toolset_dir"/%24%28cd "$toolset_dir" && find . -name Microsoft.DotNet.Arcade.Sdk.dll \( -regex '.*netcoreapp2.1.*' -or -regex '.*net7.0.*' \) ) - - - logger_path="%24toolset_dir"/%24%28cd "$toolset_dir" && find . -name Microsoft.DotNet.ArcadeLogging.dll \( -regex '.*netcoreapp2.1.*' -or -regex '.*net7.0.*' \) ) - - - - $(ArcadeLoggingReplacementText) - if [[ ! -f $logger_path ]]; then - $(ArcadeSdkReplacementText) - fi - - - - - - - - - + + NewText="_InitializeBuildToolFramework="$(NetCurrent)"" + Condition="'$(UseBootstrapArcade)' != 'true'" /> + diff --git a/src/SourceBuild/patches/roslyn-analyzers/0001-Eliminate-pre-built-assets-during-source-build-for-r.patch b/src/SourceBuild/patches/roslyn-analyzers/0001-Eliminate-pre-built-assets-during-source-build-for-r.patch index 95f423319..e647ff887 100644 --- a/src/SourceBuild/patches/roslyn-analyzers/0001-Eliminate-pre-built-assets-during-source-build-for-r.patch +++ b/src/SourceBuild/patches/roslyn-analyzers/0001-Eliminate-pre-built-assets-during-source-build-for-r.patch @@ -55,7 +55,7 @@ index a467fb579..acd5db8bc 100644 - 3.8.0 - - 3.3.4 + 3.3.5 beta1 diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index c7c28fd9f..e5be9e028 100644