Skip to content

Commit e2a3511

Browse files
ViktorHofermmitche
andauthored
Build .NETCoreApp source gens in allconfigurations build (#105247)
* Build .NETCoreApp source gens in allconfigurations build Fixes #100346 * Update RegexGenerator.Emitter.cs --------- Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
1 parent dc5a4a1 commit e2a3511

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/libraries/oob-gen.proj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.Build.Traversal">
2+
3+
<!-- Reference all out-of-band generator projects. -->
4+
<ItemGroup>
5+
<ProjectReference Include="$(MSBuildThisFileDirectory)*\gen\**\*.*proj"
6+
Exclude="@(ProjectExclusions)" />
7+
</ItemGroup>
8+
9+
</Project>

src/libraries/oob.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

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

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

0 commit comments

Comments
 (0)