How to copy monogame templates for VS for Rider?

Hello. I installed monogame for Visual Studio now, but I don’t use VS, I prefer Rider. The question is - where place of these templates? I want to install them for Rider. Rider has good function for installing templates and I need only this template files but I can’t find these templates in VS folder: UserName/Document/VisualStudio2017/Templates

As Rider is not a free IDE, I’m not sure there is so much people using it to program with .Net, nor you’ll see official templates for it.
They are/should be in
C:\Users<youusername>\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#\MonoGame

Rider does not support the VS templates. It does support dotnet CLI templates and there’s a MonoGame template available for it. If you have dotnet CLI installed, you can follow the instructions on this page to install the MG template: https://github.com/dotnet/templating/wiki/Available-templates-for-dotnet-new
After that Rider should pick it up.

Hi! I made a walkthrough today https://youtrack.jetbrains.com/issue/RIDER-38530#focus=streamItem-27-3915406.0-0
I did that on Mac, but it should work on Windows/Linux also.

Use dotnet new -i MonoGame.Templates.CSharp to get the templates.

1 Like