Skip to content

Commit 48afdf8

Browse files
authored
Make sure that NS2.0 source generators are built
97a51cc regressed the inclusion of source generators in the targeting pack as the `netstandard2.0` inner build was never chosen by the sfx-gen.proj traversal project. Noticed in the SDK consumption PR: dotnet/sdk#29406
1 parent a92c5bc commit 48afdf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libraries/sfx-gen.proj

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<Project Sdk="Microsoft.Build.Traversal">
22

33
<PropertyGroup>
4-
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<!-- Filter ProjectReferences to build the best matching target framework only. -->
6+
<FilterTraversalProjectReferences>true</FilterTraversalProjectReferences>
57
</PropertyGroup>
68

79
<!-- Reference all NetCoreAppCurrent shared framework generator projects. -->

0 commit comments

Comments
 (0)