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

Net6 #712

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

Net6 #712

wants to merge 13 commits into from

Conversation

emwanwei163
Copy link

.NET 6 support

@schodemeiss
Copy link

schodemeiss commented Dec 15, 2022

This would be great to get merged in. Supports older .NET Framework and very current .NET (Core). I'm hitting an exception of:

System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.Action`4.BeginInvoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, AsyncCallback callback, Object object)
   at WebSocketSharp.WebSocket.closeAsync(CloseEventArgs e, Boolean send, Boolean receive, Boolean received)
   at WebSocketSharp.WebSocket.CloseAsync(CloseStatusCode code)

Which is caused due to the outdated BeginInvoke usages.

I notice all these other issues mentioned the same problem. Maybe it's time for a fix?

#412
#473
#487
#601
#652

@Misiu
Copy link

Misiu commented Mar 21, 2023

@sta any updates?

@DavidDBD
Copy link

DavidDBD commented Jul 6, 2023

I'd like to add in my vote for this - I recently upgraded a project that I rely on to .net 6 and am running into issues.

@CosmicStud
Copy link

I think it's now between updating backward compatibility only or moving to the newer compatibility but losing older device support.

Or possibly updating both versions simultaneously in the future. Not all devices or IDE's support Net6 yet unfortunately. Maybe another 5-10 years.

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.

5 participants