Rider experience: brand new (build: EAP Rider RS-144.4757)
C# Experience: Dabbling with Unity3D
Creating a plain MonoGame project ended up being fairly easy once. This is just for setting things up for the most simple of projects: what the MonoGame template creates in Visual Studio. My goal was to only use Rider and online resources; I didn't want to use VS at all.
- Create an Empty Project - in my case, I called it Sandbox.
- Use NuGet to find Monogame.Framework.* and choose the operating system you're using; in my case, for Windows I choseWindowsDX.
- have a look at the code automatically generated for Visual Studio.
- Create the Program.cs file using the code at the URL. In my case, I had to replace the namespace with Sandbox and comment out the #if and #endif lines. (aside: anyone know why those might not work in Rider? Or might it be an external configuration/limitation?)
- Create the Game1.cs file using the code at the URL. Again, I had to replace the namespace with Sandbox.
From here I was able to build and run the project with the Cornflower Blue window popping up.