[Mono-list] error CS5001: Test.exe does not have an entry point defined
Paul Dufresne
dufrp@hotmail.com
Tue, 01 Oct 2002 08:20:52 +0000
I typed:
mcs Test.cs
I also tried mcs /t:exe /main:Test Test.cs but with the same result.
Note that mcs /t:module Test.cs works fine.
Here is Test.cs:
using System;
class Test{
public static void main(){
Console.WriteLine("Hello world\nHow are you today?");
}
}
This is a Debian woody installed from DebianPlanet yesterday.
What's wrong with that?
_________________________________________________________________
Rejoignez MSN Hotmail, le plus important service de messagerie
http://www.hotmail.com/fr