Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDarya Zata
2,562 PointsError: no files to compile were specified
when I compile the prog, there is an error: Error: no files to compile were specified is it normal? the code is the same..
Robbie Baker
7,736 PointsCan you send what you input into the console please?
James Churchill
Treehouse TeacherDarya,
Were you able to resolve this issue?
Thanks ~James
2 Answers
Rasmus Hall
1,260 Pointsjust type mcs *.cs
Robert Patterson
2,915 Pointswithout knowing what you entered, it sounds to me like you forgot the file list for the compiler :
mcs -out:TreehouseDefense.exe <<filelist>>
in the case of this project, the file list should all of your csharp source files(*.cs), so your command line should be:
treehouse:~/Workspace$ mcs -out:TreehouseDefense.exe *.cs
Steven Parker
231,236 PointsSteven Parker
231,236 PointsTo facilitate analysis, make a snapshot of your workspace and post the link to it here. Also please show the command you use to compile.