1

I know this is a very silly and easy problem, but I can't figure it out by myself.

I wrote my first program in C#. In order to debug it, I've been using an online compiler, but I ran out of free runs, and I know that I need to learn to use MonoDevelop soon anyways.

It looks like a perfect environment for writing and running C# programs even on a mac, but I still can't add a program to a solution of a project, so I can't get it compiled.

Any advice will be highly appreciated!

1 Answer 1

1

A project compiles a set of source files to a library or an executable. A solution is a container for one or more projects. If you create a new project, a solution will be created automatically. Did you try creating and running the default console app project?

Sign up to request clarification or add additional context in comments.

8 Comments

Sounds like you've created a C++ project, instead of C#.
Thanks mhutch! At least I somehow understood the basic notions. My current problem is that I keep getting the error message "Compiler not found: gcc". A gcc compiler seems to be installed though; do you have any idea what could help? –
I'm confused - are you trying to create a C# or C project?
Ah, yes, that's true, the project is only on c++ level. Still, if I run it as a .cs or .css file, I get the same error message. Do you know what is the role of gcc in this process?
gcc is the C and C++ compiler. You would only have that error if you created a C or C++ project. Try recreating the project and make sure it's a C# project.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.