Comments (4)
Just checked the bin folder of my project and it looks like it contains the correct version of the Tasks.dll
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.
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.
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.
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.
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)
- Support AsyncProducerConsumerQueue wait for empty
- AsyncCollection IsEmpty HOT 3
- [Discussion] Return `ValueTask` instead of `AwaitableDisposable`? HOT 5
- [Question] .WaitAndUnwrapException() vs AsyncContext and potential deadlock HOT 2
- The collection has been marked as complete with regards to additions HOT 1
- Atomic wait semantics lead to continued processing after cancellation HOT 3
- What happened to NotifyTask? HOT 1
- CancellationTokenTaskSource's dispose
- Using LazyAsync with JSONSeralizer? HOT 1
- Producer/Consumer PriorityQueue
- doc/TaskConstants.md links to an article that doesn't exist anymore
- Cross thread Sync context stealing HOT 2
- [Question] Using discard with AsyncLock HOT 1
- [Question] Is ConfigureAwait(false) is needed? HOT 1
- AsyncContext holds exceptions until all tasks complete.
- Feature request: AsyncReaderWriterLock support for UpgradeableReadLock HOT 11
- The ApmAsyncFactory interop hangs if a path in async method returns synchronously. HOT 1
- Setting AsyncAutoResetEvent after used in Task.WhenAny HOT 3
- AsyncLazy with API call is being called twice across 4 components. HOT 2
- Strong names HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncex.