Reputation: 343
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?
Upvotes: 21
Views: 30414
Reputation: 1463
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".
Upvotes: 12
Reputation: 688
This happened to me just now, coming from a dotnet new angular generated project.
What I did to solve it was to right-click solution and then add existing project.
Upvotes: 1
Reputation: 343
It's solved in the comments, create Console App instead of empty solution, or if the problem already happened you should go to project properties and choose your language.
Upvotes: 5
Reputation: 134
Create a new project:
Write your code:
Press Ctrl + F5 and you should see this window:
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. :)
Upvotes: 10