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!
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 trial
Igor LatychevCourses Plus Student 7,310 Points
C# - TreehouseDefense Game
treehouse:~/workspace$ mcs -out:TreehouseDefense.exe *.cs && mono Treehous
Game.cs(43,21): error CS0117:
TreehouseDefense.Level' does not contain a
Level.cs(3,11): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
Can someone please explain to me why I received this error. Here is my code: https://w.trhou.se/hm2mzhl3sx
Steven Parker224,865 Points
Are you sure that's the right snapshot?
The error message refers to a file named "Level.cs", but your snapshot has no file by that name.
Check and see if you need to update that snapshot link.