Skip to content

Commit e1fb236

Browse files
authored
Fix target framework condition for AsyncEnumerable reference (#49434)
1 parent 9af720d commit e1fb236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/compatibility/sdk/10.0/nu1510-pruned-references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If your project targets only frameworks where the package is pruned, remove the
4646
<PackageReference Include="System.Text.Json" Version="8.0.5" Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" />
4747

4848
<!-- reference 10.0 System.Linq.AsyncEnumerable when targeting things older than .NET 10 -->
49-
<PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0-preview.2.25163.2" Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net.10'))" />
49+
<PackageReference Include="System.Linq.AsyncEnumerable" Version="10.0.0-preview.2.25163.2" Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))" />
5050

5151
<!-- Reference System.Memory on frameworks not compatible with .NET Core 2.1 nor .NETStandard 2.1 -->
5252
<PackageReference Include="System.Memory" Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netcoreapp2.1')) and !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />

0 commit comments

Comments
 (0)