From a278a2624861fc0f464995ed3aa535c6db7f2731 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Mon, 22 Jan 2024 18:41:03 +0100 Subject: [PATCH] Make SourceBuild.props work on Windows (#53523) * Make SourceBuild.props work on Windows Contributes to VMR work: https://github.com/dotnet/source-build/issues/3926 Changes are from https://github.com/dotnet/dotnet/pull/46 * Update build.ps1 --- eng/SourceBuild.props | 23 ++++++++++++++++------- eng/build.ps1 | 28 +++++++++++++++++----------- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 93dbe4b4e352..991a0e2e5196 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -8,9 +8,11 @@ netstandard2.0%3bnetstandard2.1%3bnetcoreapp2.1%3bnetcoreapp3.1%3bnet5.0%3bnet6.0%3bnet7.0%3bnet8.0%3bnet9.0 + + BeforeTargets="RunInnerSourceBuildCommand" + Condition="'$(ArcadeBuildFromSource)' == 'true'"> @@ -28,13 +30,11 @@ - + - <_AdditionalRepoTaskBuildArgs /> @@ -45,7 +45,8 @@ - + +