Skip to content

Commit d1e7bd7

Browse files
committed
runtime-async
1 parent 375289a commit d1e7bd7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<WarningLevel>9999</WarningLevel>
1515
</PropertyGroup>
1616

17+
<PropertyGroup Condition=" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net11.0')) ">
18+
<Features>runtime-async=on</Features>
19+
</PropertyGroup>
20+
1721
<PropertyGroup Condition="'$(Configuration)' == 'Release' Or '$(CI)' != ''">
1822
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1923
</PropertyGroup>

0 commit comments

Comments
 (0)