When attempting to use IAsyncEnumerable
, I get this error:
The type or namespace name IAsyncEnumerable<> could not be found (are you missing a using directive or assembly reference?)
How do I make this compatible with c# 8?
Some C# 8 and .NET Framework combination are not (and may not ever) be officially supported by Microsoft. It's dying a slow, painful death.
As of today IAsyncEnumerable<T>
is only officially available for the following frameworks
However, check out the following post, you might be able to mash it in