Skip to content

Commit

Permalink
Build .NETCoreApp source gens in allconfigurations build (#105247)
Browse files Browse the repository at this point in the history
* Build .NETCoreApp source gens in allconfigurations build

Fixes #100346

* Update RegexGenerator.Emitter.cs

---------

Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
  • Loading branch information
ViktorHofer and mmitche committed Jul 23, 2024
1 parent dc5a4a1 commit e2a3511
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/libraries/oob-gen.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.Build.Traversal">

<!-- Reference all out-of-band generator projects. -->
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)*\gen\**\*.*proj"
Exclude="@(ProjectExclusions)" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/libraries/oob.proj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<ItemGroup Condition="'$(BuildTargetFramework)' != '$(NetCoreAppCurrent)' or '$(BuildTargetFramework)' == ''">
<ProjectReference Include="oob-all.proj" SkipGetTargetFrameworkProperties="true" />
<ProjectReference Include="oob-gen.proj" />
</ItemGroup>

<!-- Support building reference projects only. -->
Expand Down

0 comments on commit e2a3511

Please sign in to comment.