.NET 10 Problem - System.Linq.Async

I have upgraded to .NET 10, but it appears that since Syncfusion.Blazor references System.Linq.Async 6.0.1 I am getting error messages for using `ToArrayAsync` because it doesn't know whether to pull from ` System.Linq.Async` or the new System.Linq namespace that has this in .NET10.

Making sure this is a known issue. :)


3 Replies 1 reply marked as answer

MK Muthukumar Kannan Syncfusion Team November 17, 2025 08:11 AM UTC

Hi Mike,


Greetings from Syncfusion Support!


We have reviewed your query and would like to inform you that .NET 10 introduces built-in async LINQ extension methods, including ToArrayAsync. This change can lead to conflicts when your project also references the System.Linq.Async package.


For more details, please refer to the official documentation: Breaking change - System.Linq.AsyncEnumerable in .NET 10 - .NET | Microsoft Learn


To assist you further, could you please share more details on how you are using these LINQ operations in your code? This will help us provide a precise solution.


Regards,

Muthukumar K



MI Mike-E November 17, 2025 10:39 AM UTC

Hi Muthukumar,


Thank you for your reply, and pardon the confusion.  Grok for some reason pinned Syncfusion.Blazor as the source of the reference, but this is in error.

Here is the correct way to remove the issue:

```

<PackageVersion Include="System.Linq.Async" Version="6.0.1">

    <ExcludeAssets>compile</ExcludeAssets>

    </PackageVersion>

```

Hopefully this will help others who may run into the same error.


Marked as answer

MK Muthukumar Kannan Syncfusion Team November 17, 2025 10:48 AM UTC

Hi Mike,


Thank you for your prompt response. The mentioned package is not a direct dependency of Syncfusion, but it may be required by certain transitive dependencies. We can follow your suggestion and address this as per MSDN’s guidance. Breaking change - System.Linq.AsyncEnumerable in .NET 10 - .NET | Microsoft Learn

Regards,

Muthukumar K



Loader.
Up arrow icon