Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a project in Jetbrain's Rider IDE?

Tags:

c#

ide

rider

I've started to learn c# recently and I really like the Jetbrains IDEs, so I decided to pick up Rider in it's early developement phase. Since it's a brand new environment I could barely find any information about it at all.

My problem is I simply cannot run my project, I have Mono installed and I gave it's path to the IDE but it still sais "no projects to run".

Do I need something aside Mono? Or what would you recommend me to check?

Screenshot

like image 472
Mate Avatar asked Dec 15 '16 12:12

Mate


2 Answers

Create a new project:

New project

Write your code:

My file

Press Ctrl + F5 and you should see this window:

Configuration

Now simply click on Run. The next time you need to build it, you won't see the configuration settings, but it will still run the project. :)

like image 61
Симеон Шейтанов Avatar answered Sep 23 '22 16:09

Симеон Шейтанов


I had the exact same problem and I think I figured it out (without having to recreate a project from scratch).

The list in front of "Project:" is empty when there is no runnable project. A "Class library" for instance is not runnable. Just pick up one of your solution's projects (in your case there is only one), right click, then "Properties", and in front of "Output type:" (where you should see "Class library"), simply select "Console application".

Now you should see it in the window appearing when you click on "Edit configurations".

like image 42
Edouard Berthe Avatar answered Sep 25 '22 16:09

Edouard Berthe