FSharp.Control.AsyncSeq error
See original GitHub issue.Net Version: .Net Core 3.1 OS: Mac OS Packages: nuget Equinox.Core 2.0.0 nuget Equinox.SqlStreamStore 2.0.0 nuget Equinox.SqlStreamStore.MsSql 2.0.0 nuget FsCodec 2.0.2-alpha.0.8 alpha nuget SQLStreamStore 1.2.0-beta.8 nuget SQLStreamStore.MsSql 1.2.0-beta.8
When trying to Transact
on a stream I am getting this error:
Cause: System.AggregateException: One or more errors occurred. (Could not load file or assembly 'FSharp.Control.AsyncSeq, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040))
---> System.IO.FileLoadException: Could not load file or assembly 'FSharp.Control.AsyncSeq, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'FSharp.Control.AsyncSeq, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null'
at Equinox.SqlStreamStore.Read.loadForwardsFrom@220.Invoke(Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 398
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in E:\A\_work\130\s\src\fsharp\FSharp.Core\async.fs:line 109
--- End of stack trace from previous location where exception was thrown ---
at Ply.TplPrimitives.TaskAwaiterMethods`1.Ply-TplPrimitives-IAwaiterMethods`2-GetResult(TaskAwaiter`1& awt)
at Ply.TplPrimitives.TplAwaitable`4.GetNext()
at Ply.TplPrimitives.ContinuationStateMachine`1.System-Runtime-CompilerServices-IAsyncStateMachine-MoveNext()
--- End of inner exception stack trace ---
I also added FSharp.Control.AsyncSeq
to my project to see if that would resolve any issues and it didn’t appear to.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
FSharp.Control.AsyncSeq
FSharp.Control.AsyncSeq is a collection of asynchronous programming utilities for F#. An AsyncSeq is a sequence in which individual elements are retrieved using ...
Read more >F# Async: FSharp.Control.AsyncSeq
An AsyncSeq is a sequence in which individual elements are retrieved using an Async computation. It is similar to seq<'a> in that subsequent...
Read more >Presence of return is misleading · Issue #38
member Return : unit -> AsyncSeq<'T> gives the error Module 'FSharp.Control.AsyncSeq' requires a value 'member AsyncSeq.AsyncSeqBuilder.Return : ...
Read more >fsprojects/FSharp.Control.AsyncSeq
AsyncSeq is a collection of asynchronous programming utilities for F#. See the home page for details. The home page can be edited, forked...
Read more >Unordered F# AsyncSeq.mapParallel with throttling
If I'm understanding your requirements then something like this will work. It effectively combines the iter unordered with a channel to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Deleting paket.lock, making suggested modifications to paket, and reinstalling/restoring everything seemed to fix this specific issue. Will close.
cc @fnipo From looking around, it seems the confusion here stems from a mix of things
3.0.0-alpha.3
uses AsyncSeq v2.0.23
(required as Equinox.Cosmos uses the Cosmos V4 SDK which requiresIAsyncEnumerable
)1
/2
.x all use2.0.21
=> For avoidance of doubt 1. Don’t pin AsyncSeq 2. use
git clean
@fluxlife A secondary confusion which probably landed you in this loop is the fact that there was a manual incomplete version of
Equinox.SqlStreamStore.MsSql
- a2.0.1
was released, but no accompanying other packages=> I’m releasing a
2.0.2
and unlisting2.0.1
to reduce the likelihood of others running into similar issues