Compound configuration does not start multple on macos

I have a client/server solution on Rider that works fine on Windows, but won't start both the Server and Client on MacOS!

All the settings appear to be exactly the same, and the source is the same pulled from my GitHub repository.  The Server starts fine, but for some reason on the Mac the Client doesn't even attempt to build or start :(

Any ideas why this would be?

Thanks in advance :)

0
6 comments

Which kind of project are you working on? Does it support build across different platforms?

0

It is a gRPC project with a simple server and client using .NET C#.  I have tested the client/server projects on Windows, MacOS, and Linux, and they work fine by themselves.

  • Server on Windows, Client on MacOS
  • Server on MacOS, Client on Windows

When I run the Compound Config Windows, they both start and the client connects to the Server.

When I run the Compound Config on MacOS, the Server starts, but the Client does not appear in the Run tab at all.

I am VERY impressed with Rider on Windows, and even on Mac, but it would be nice if this feature worked on the Mac too.  I am entering the cross-platform development world and this is kind of important for me :)

Any suggestions?

0

Does the client project support Mac? It's better if you can share a screenshot of the settings so that I can understand which kind of projects you are working on. 

Ensure you have stored Run/Debug Configurations in .run and shared with different machines.

0

Yes, it is .NET Core, and is supported by Mac.  The Server and Client work fine on the Mac, but I cannot have them both start with the Compound Configuration.

Having said that, I figured it out!!!  I finally decided to run in debug (duh :P ) and it became obvious.  It turns out on the Mac the Compound was starting the client too fast (before the Server had started) and it was crashing all the time.  I kind of wish Rider would still show the Run tab for the failed app, but …

My guess is that the Mac (Apple silicon M3) is so much faster to run these processes than the Windows machine that the problem reveals itself only on that platform.

Thanks for helping me out on this :)

0

In this situation, you can use the Multi-Launch Run/Debug configuration, which allows you to control the time to start the different project.

0

Thanks a lot for that!  I had not seen that feature before.  I'm not sure what the difference is between a Compound and the Multi-Launch is, but it is good to know there are options.  I definitely have some learning to do on Rider :)

1

Please sign in to leave a comment.