Closed jfloodnet closed 10 months ago
Some packages are owned by other people, I cannot push those packages to nuget, I tried contact author to let them transfer the package to me.
The good news is that they agree and already transferred packages to me.
Thanks Beffyman
Thanks tobias.schulz186
The issue was solved
Version: 3.1.0 Nuget seems to be pulling in a transient reference to this library https://github.com/Beffyman/SocketIo.Core when using .Net 6
Follow the dependency chain here https://www.nuget.org/packages/SocketIOClient/#dependencies-body-tab
You will see that it pulls in Beffyman's dll.
This causes a runtime exception:
System.TypeLoadException: Could not load type 'SocketIO.Core.EngineIO' from assembly 'SocketIo.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
From looking at your publish file you are not packaging a SocketIO.Core of your own.
https://github.com/doghappy/socket.io-client-csharp/blob/master/azure-devops/publish.yml
Downgrading to 3.0.8 solves it