Skip to content

Commit 98b165d

Browse files
authoredJul 23, 2024
Fix source-build leg (dotnet#105306)
1 parent 0378936 commit 98b165d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/libraries/oob.proj

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
<ItemGroup Condition="'$(BuildTargetFramework)' != '$(NetCoreAppCurrent)' or '$(BuildTargetFramework)' == ''">
2020
<ProjectReference Include="oob-all.proj" SkipGetTargetFrameworkProperties="true" />
21-
<ProjectReference Include="oob-gen.proj" />
21+
<!-- Skip building all source generators when building from source as that would bring new prebuilts in. -->
22+
<ProjectReference Include="oob-gen.proj" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
2223
</ItemGroup>
2324

2425
<!-- Support building reference projects only. -->

0 commit comments

Comments
 (0)