websocket-sharp icon indicating copy to clipboard operation
websocket-sharp copied to clipboard

support dotnet core 3.0

Open sharkguto opened this issue 6 years ago • 6 comments

is there any chance to implement it for dotnet core 3.0?

sharkguto avatar Oct 02 '19 19:10 sharkguto

@sharkguto I've simple add all files to new NET Core project and change TargetFramework to TargetFrameworks and write required target's. But in .NET Core I've issue with System.Net.Sockets.NetworkStream

rentocika avatar Oct 18 '19 06:10 rentocika

There is my errors: 11/20/2019 12:43:16|Fatal|<>c__DisplayClass84_0.<receiveRequest>b__0|Operation is not supported on this platform. 11/20/2019 12:43:16|Fatal|<>c__DisplayClass174_0.<startReceiving>b__2|System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'. at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at WebSocketSharp.Ext.<>c__DisplayClass57_0.<ReadBytesAsync>b__0(IAsyncResult ar) in /websocket-sharp/websocket-sharp/Ext.cs:line 792 11/20/2019 12:48:11|Fatal|<>c__DisplayClass174_0.<startReceiving>b__2|System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'. at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at WebSocketSharp.Ext.<>c__DisplayClass57_0.<ReadBytesAsync>b__0(IAsyncResult ar) in /websocket-sharp/websocket-sharp/Ext.cs:line 825 11/20/2019 12:52:11|Fatal|<>c__DisplayClass174_0.<startReceiving>b__2|System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'. at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at WebSocketSharp.Ext.<>c__DisplayClass57_0.<ReadBytesAsync>b__0(IAsyncResult ar) in /websocket-sharp/websocket-sharp/Ext.cs:line 825

rentocika avatar Nov 20 '19 12:11 rentocika

same issue here with net core 3, it will be great if next release support net core 3

codefrx avatar Nov 25 '19 13:11 codefrx

As the core 3.1 is available now, any plan to support it in the near future?

rogergoldfish avatar Feb 20 '20 21:02 rogergoldfish

Currently working on an unofficial fork for .NET Core. @rogergoldfish @codefrx @ShaihutdinovRZ @sharkguto Need a little more time. https://github.com/nozomi-ai/websocket-sharp

nixxholas avatar Aug 08 '20 20:08 nixxholas

@nixxholas is your fork still relevant or has this already been merged?

BierDav avatar Oct 13 '25 15:10 BierDav