C# compile by use Maven1.x, i got build failed

2005-04-25 Thread NATARAJAN Sasi Kumar
Hai all i am compiling C# using ant task in maven 1.x, if compile one file no problem if compile more than one file , i got Build failed do you know anyone the above question advise me thanks in advance I am using tag goal name=csc:c# description=Compile C# ant:csc srcdir

Re: ---SPAM--- C# compile by use Maven1.x, i got build failed

2005-04-25 Thread Stephan Zeissler
Hi, the problem is easy: you have two Main() Methods in Programm, one in Class1.cs and one in Class2.cs. The compiler don't know which is your whished startpoint for the application so it fails. Either define one as the real Main() Method (I don't know exactly how to do that by commandline) or

Re: C# compile by use Maven1.x, i got build failed

2005-04-25 Thread Emmanuel Venisse
# compile by use Maven1.x, i got build failed Hai all i am compiling C# using ant task in maven 1.x, if compile one file no problem if compile more than one file , i got Build failed do you know anyone the above question advise me thanks in advance I am using tag goal name=csc:c