I am writing a bot for a discord. Took libu Discord.Net. I have win7, in which .Net's sockets are not supported (Something is written when trying to run)
I try to use a third-party socket provider, namely WebSocket4Net. When loading this data from nuget along with the discord, an error occurs: As I understood it, the discord could not find a designer with the required signature in WebSocket4Net.
Okay. I'm stubborn. I downloaded the source for WebSocket4Net and indeed, the designer added the required Buffer size parameter. Made it optional by specifying 4048bits.
I collected and tried to replace the library with my own. But Caught the error:
Failed to download file or assembly "WebSocket4Net, Version = 0.15.2.11, Culture = neutral, PublicKeyToken = eb4e154b696bf72a" or one of their dependencies. The found assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
How to get rid of this shit?)