Skip to content

Commit

Permalink
Condition source-build specific configurations on DotNetBuildFromSouce
Browse files Browse the repository at this point in the history
Contributes to VMR work: dotnet/source-build#3926

Changes are from dotnet/dotnet#46

No functional changes introduced.
  • Loading branch information
ViktorHofer authored Jan 22, 2024
1 parent 6d97976 commit 93b3da9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/SourceBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
</PropertyGroup>

<Target Name="ConfigureInnerBuildArgs" BeforeTargets="GetSourceBuildCommandConfiguration">
<Target Name="ConfigureInnerBuildArgs"
BeforeTargets="GetSourceBuildCommandConfiguration"
Condition="'$(DotNetBuildFromSource)' == 'true'">
<PropertyGroup>
<InnerBuildArgs>$(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)\MSBuild.SourceBuild.slnf"</InnerBuildArgs>
<!-- Disable package validation as source build filters out target frameworks. -->
Expand Down

0 comments on commit 93b3da9

Please sign in to comment.