Giter Club home page Giter Club logo

Comments (5)

jimmyca15 avatar jimmyca15 commented on July 27, 2024

Hello @rjgotten, are you still experiencing this issue? It should be fixed by using the latest versions of nuget or dotnet restore when restoring packages.

For example, see this issue where it is discussed in further detail: Azure/azure-sdk-for-net#9632

from featuremanagement-dotnet.

rjgotten avatar rjgotten commented on July 27, 2024

@jimmyca15

I'm using dotnet core sdk 3.1.300 that comes with the latest VS 2019 and I'm still seeing this issue.
I need to have the mentioned alias in place or I'm still presented with error CS0121

The call is ambiguous between the following methods or properties:
'System.Linq.AsyncEnumerable.ToAsyncEnumerable<TSource> (System.Collections.Generic.IEnumerable<TSource>)' and
'System.Linq.AsyncEnumerable.ToAsyncEnumerable<TSource> (System.Collections.Generic.IEnumerable<TSource>)'

from featuremanagement-dotnet.

jimmyca15 avatar jimmyca15 commented on July 27, 2024

I'm not sure this is because of our dependency on the bcl package. I couldn't repro any issues by referencing it. Are you using System.Interactive.Async 3.2.0? That may be the cause.

I was able to reproduce the issue by running the console example project and adding a reference to System.Interactive.Async 3.2.0. There is a known issue with .NET core 3.x and System.Interactive.Async 3.x. Once I upgraded to System.Interactive.Async 4.1.1 it was resolved.

from featuremanagement-dotnet.

rjgotten avatar rjgotten commented on July 27, 2024

@jimmyca15
Went to have a look at the dependency tree for the affected project(s) again. We had one which was depending only on [email protected]. Switching it to take a dependency on the full [email protected] (and depend on System.Linq.Async transitively) indeed fixed the CS0121 error during builds.

(Very spooky that you actually must take a dependency on that external package for things to work correctly.)

from featuremanagement-dotnet.

jimmyca15 avatar jimmyca15 commented on July 27, 2024

Great sounds like this has been resolved then. Please raise another issue if anything feels off in the future. Thanks.

from featuremanagement-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.