Warning when adding WebSocketSharpFork V1.0.4 to .net6 project

Warning on adding the websocket package to .net 6 project

Severity Code Description Project File Line Suppression State
Warning NU1701 Package 'WebSocketSharpFork 1.0.4' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.

I am afraid this is not going to work on cross platform targets.
Please review and share recommendation/fix for the same.

Hi,

Since this is just a warning and not an error, I'm assuming your code compiles and runs. As long as WebSocketSharpFork does not use any APIs unavailable on netstandard 2.0, you should be ok to just ignore this warning. So it may or may not work in your case. Please report any issues if they pop up.

Thanks,

Mike

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.