.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
CS0121 The call is ambiguous between the following methods or properties: 'System.MemoryExtensions.Count(System.ReadOnlySpan, T)' and 'CommunityToolkit.HighPerformance.ReadOnlySpanExtensions.Count(System.ReadOnlySpan, T)'
Describe the bug
Error
after changing the TargetFramework to
net8.0
.Regression
7.1.2, 8.2.2 - with .net 7
Steps to reproduce
dotnet new console -f net8.0
dotnet add package CommunityToolkit.HighPerformance
dotnet build
Expected behavior
It should compile, just like with
net7.0
.Screenshots
No response
IDE and version
VS 2022
IDE version
No response
Nuget packages
Nuget package version(s)
8.2.2
Additional context
No response
Help us help you
No, just wanted to report this