Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Mohammed Rajedia
231 PointsUnable to Compile or run the program in workspace ?
It Shows this error in console
Cannot open assembly 'program.cs': No such file or directory.
treehouse:~/workspace$ mcs program.cs
error CS2001: Source file `program.cs' could not be found
Compilation failed: 1 error(s), 0 warnings
treehouse:~/workspace$ mono program.exe
Cannot open assembly 'program.exe': No such file or directory.
1 Answer

Steven Parker
220,450 PointsJust a wild guess.
While waiting for your snapshot, I was wondering if you may have forgotten to save your file before you tried to compile?
Steven Parker
220,450 PointsSteven Parker
220,450 PointsTo facilitate analysis and an accurate answer, please make a snapshot of your workspace and post the link to it here.