Running and Debugging .NET 4.7.2 in a Windows VM from Rider on Linux – Is It Possible?
Hi everyone,
I'm currently using Fedora Linux as my primary development environment, working on a project that includes a large Node.js backend, a frontend codebase, and a .NET 4.7.2 codebase. I rely on Rider as my IDE for all my projects because of its excellent integration with my tech stack. It works seamlessly for both the Node and frontend tasks, as well as the C# codebase.
However, because the .NET project targets .NET Framework 4.7.2, I need to run it in a Windows VM, as it's not compatible with Linux. Both the code and Rider itself are running within this VM as though it were a native Windows setup.
My goal is to open this Windows-based .NET project from Rider on my Linux machine, enabling full remote control and debugging as if I were working directly on Windows. Ideally, I'd like to have both my Node project and the remote Windows .NET project open in the same Rider instance on Linux. If that's not feasible, I'd be content with running two separate Rider instances—one for my local Node projects and another for remotely controlling the Windows-based project.
Is this setup possible? I'd greatly appreciate any advice or suggestions on how to achieve it.
Thanks in advance for your help!
Please sign in to leave a comment.
Rider supports connect to the remote server through SSH, you can run the .NET Framework application in the Windows VM, expose the ports for remote development. Have a look at this documentation. It depends on the application type, remote dev is not applicable for WinForm applications.
For the Node.js app, since the Rider instance is used for remote dev, you will need to open the application in a new window. If you have other solutions that require working on the Linux machine locally, you can also simply attach it on the existing solution.