Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the interfaces in a .NET Core 3.1 project #56

Open
janniksam opened this issue Apr 19, 2020 · 0 comments
Open

Use the interfaces in a .NET Core 3.1 project #56

janniksam opened this issue Apr 19, 2020 · 0 comments

Comments

@janniksam
Copy link

So, I was looking for an IAsyncEnumerable alternative, that does work under .NET Standard 1.4 and found this library.

However, when I reference my consuming .NET Core 3.1 test, it gives me

Error CS7069 Reference to type 'IAsyncEnumerator<>' claims it is defined in 'AsyncEnumerable', but it could not be found.

or when I use IAsyncEnumerable

Error CS7069 Reference to type 'IAsyncEnumerator<>' claims it is defined in 'AsyncEnumerable', but it could not be found.

The error makes sense to me, because .NET Core 3.1 does support async streaming by default. Is there a way to use it in a .NET Core 3.1 test project anyways? (I would like to not change anything in my consuming project for this)

@janniksam janniksam changed the title Use the interfaces in an .NET Core 3.1 project Use the interfaces in a .NET Core 3.1 project Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant