Code Monkey home page Code Monkey logo

Comments (4)

connorivy avatar connorivy commented on June 11, 2024

Just checked the bin folder of my project and it looks like it contains the correct version of the Tasks.dll
image

Is this an issue about the target framework being 4.6.1 when I'm actually using 4.8? I have a different project where this is working for v4.8

from asyncex.

connorivy avatar connorivy commented on June 11, 2024

Another update on this. I have one program where it is running fine and one where it is not. The structure of both programs is very similar, I can't find a difference that would cause the following difference in behavior. I cloned the repo to try to debug my way through it.

When the program is working correctly, it goes from breakpoint 1.
image

to breakpoint 2.
image

to breakpoint 3.
image

and so on.

On my other program where it isn't working, it goes from breakpoint 1 directly to breakpoint 3. It then breaks out of the try statement that originally called the AsyncContext.Run(MainAsync) and the exception in the title shows up. It's strange because I'm passing in the same function to the same method in both programs, so you would think they would act the same way.

from asyncex.

StephenCleary avatar StephenCleary commented on June 11, 2024

This is almost certainly not a problem with the AsyncEx library. "Could not load type" problems are due to how the application has loaded its modules. In particular, it seems to be trying to use a very old version (1.0.1.0) instead of the one you think it is. You may want to check the Modules view in the debugger; it should tell you where on disk it's getting AsyncEx.Tasks 1.0.1.0 from.

from asyncex.

connorivy avatar connorivy commented on June 11, 2024

Yeah I figured it's a error with my setup but I can't for the life of me find the old package that it's referencing instead of the one in the project directory. I'm going to close this issue, as I've found an alternate solution to my problem and won't be trying to fix this issue. Thanks for your reply

from asyncex.

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.