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

need echo listener and web client for Mac. #44

Open
SameerRaina opened this issue Feb 26, 2019 · 2 comments
Open

need echo listener and web client for Mac. #44

SameerRaina opened this issue Feb 26, 2019 · 2 comments

Comments

@SameerRaina
Copy link

SameerRaina commented Feb 26, 2019

hi,
I am trying to test the echo-server sample and web-client sample on the same computer which is a Mac and I see that the csproj files have a .net dependency which is to be replaced with .net core. I don't know what to do with .net standard dependency and am curious if you have versions of the above mentioned projects for the Mac OS. Also, when I tried to build the echo-server project in VS Community on Mac it gave me the following errors

/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/Samples/EchoServer/CSC: Error CS0006: Metadata file '/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/vtortola.WebSockets.Rfc6455/bin/Debug/netstandard1.3/vtortola.WebSockets.Rfc6455.dll' could not be found (CS0006) (EchoServer)

/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/Samples/EchoServer/CSC: Error CS0006: Metadata file '/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/vtortola.WebSockets/bin/Debug/netstandard1.3/vtortola.WebSockets.dll' could not be found (CS0006) (EchoServer)

/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/Samples/EchoServer/CSC: Error CS0006: Metadata file '/Users/sameerraina/deniszykov.WebSocketListener.4.2.4/WebSocketListener-master/vtortola.WebSockets.Deflate/bin/Debug/netstandard1.3/vtortola.WebSockets.Deflate.dll' could not be found (CS0006) (EchoServer)

Could you guide me as to how to solve these problems.

Also, ultimately I have to deploy the server on a linux machine. will the csproj values be different there as well?

Thanks a lot!

@deniszykov
Copy link
Owner

Hi @SameerRaina. These errors indicate that vtortola.WebSockets.Deflate, vtortola.WebSockets, vtortola.WebSockets.Rfc6455 are not build. Could you gather more info about building errors?

@trinitrotoluene
Copy link

This solution doesn't build on linux/mac under .NET Core because of the net45 build target. I hit the same problem when doing CI builds on a project that had this repository as a submodule since the NuGet package isn't up to date with this repo. Easy way to fix this locally is to just remove the target and run only the netstandard1.3 build 😄

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

No branches or pull requests

3 participants