System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for '<StartupCode$Examples>.$CobinhoodDemo' threw an exception.
Source=Examples
StackTrace:
at Examples.CobinhoodDemo.get_optionMap()
at Examples.CobinhoodDemo.BeginDemo() in C:\Users\preston\Development\NullVoxPopuli\CryptoExchangeClient\examples\CobinhoodDemo.fs:line 131
at Examples.Program.optionMap@12-31.Invoke(Unit arg00@) in C:\Users\preston\Development\NullVoxPopuli\CryptoExchangeClient\examples\Program.fs:line 12
at Chessie.ErrorHandling.Result`2.Try(Func`1 func)
Inner Exception 1:
FileLoadException: Could not load file or assembly 'ISocketLite.PCL, Version=4.2.1.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I'm using a dotnetcore 2 app, and encounted this in debug mode when the flow of the program loaded a file that uses WebsocketClientLite.PCL.
I'm using a dotnetcore 2 app, and encounted this in debug mode when the flow of the program loaded a file that uses WebsocketClientLite.PCL.
I did a search for this: https://github.com/1iveowl/WebsocketClientLite.PCL/search?utf8=%E2%9C%93&q=ISocketLite&type=
but couldn't find it defined anywhere. Where is ISocketLite supposed to come from?
Here is the code: https://github.com/NullVoxPopuli/CryptoExchangeClient/blob/f523faf7ed8de7fd54fc303ac78cce3e5f308ed5/src/exchanges/cobinhood/clients/WebSocketClient.fs#L13