Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support .NET Core 3.1 #651

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

darknessxk
Copy link

Changed the BeginInvoke and EndInvoke calls to proper async Tasks usages

@SergioLuis
Copy link

It would be neat if this PR gets merged. Thank you @darknessxk for your help with this, as I've hit the same issue with this library.

@dave7280
Copy link

dave7280 commented May 15, 2021

Any news on net core async support?

I have tested this pull request and seems to be working fine. ConnectAsync and SendAsync are working with NET core 5.0

@SergioLuis
Copy link

I don't think this will get merged, like ever :(

<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>websocket-sharp.snk</AssemblyOriginatorKeyFile>
<TargetFramework>netcoreapp3.1</TargetFramework>
Copy link

@xas xas Jan 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't more interesting to replace it with

Suggested change
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>

Copy link

@apdevelop apdevelop Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't more interesting to replace it with

Or maybe even better:
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>

apdevelop@5e8f807

@jusoGames
Copy link

I have more than two years using websocketsharp in a .net core 3.1 project, the project is in production since then on Ubuntu 18.04, I have not suffered from any problems.

When I read about the project being incompatible it makes me very strange.

# Conflicts:
#	Example/Example.csproj
#	Example/Program.cs
#	Example2/Chat.cs
#	Example2/Echo.cs
#	Example2/Program.cs
#	Example3/Chat.cs
#	Example3/Echo.cs
#	Example3/Program.cs
#	websocket-sharp.sln
#	websocket-sharp/Net/HttpStreamAsyncResult.cs
#	websocket-sharp/WebSocket.cs
@Misiu
Copy link

Misiu commented Mar 27, 2023

@sta any updates?
I've just used VS upgrade assistant and migrated your project to .net standard 2.1. I'll do some more tests, but for now, it looks like everything works fine.
Are you interested in another PR? Or maybe one of the already existing could get merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants