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 trialMikey Ro
6,948 PointsCompiler Error
I cant seem to find a solution for this error - I have double checked my code and even run the instructors code and always receive this error. Help is appreciated.
treehouse:~/workspace$ mcs -out:TreehouseDefence.exe *.cs && mono TreehouseDefence.exe
MapLocation.cs(3,23): error CS0246: The type or namespace name Point' could not be found. Are you missing
Tre
ehouseDefense' using directive?
MapLocation.cs(5,38): error CS0246: The type or namespace name Map' could not be found. Are you missing
Treeh
ouseDefense' using directive?
Compilation failed: 2 error(s), 0 warnings
4 Answers
Daniel Tkach
7,608 Pointswhat lesson is this?
Steven Parker
231,269 PointsAccording to the "Watch Video" button in the upper right, this is the "Throwing Exceptions" lesson of the "C# Objects" course.
Daniel Tkach
7,608 PointsYou are always there Steven, impressive. That's why I'm staying here and I cancelled Pluralsight for now...
Steven Parker
231,269 PointsThat's really nice of you to say, but I should probably point out that I have no association with Treehouse other than being a student.
I do enjoy being helpful, but I'm not a teacher, staff member or even a forum moderator.
Daniel Tkach
7,608 PointsWow really. Did you take each single course here? And are you teaching any courses either here or somewhere else?
Steven Parker
231,269 PointsWhat I said above is that I'm not a teacher.
I'm a web developer. And I have not taken every Treehouse course, but as you can see from my profile, I have taken several. And I continue to take more as I have time. I find the Treehouse courses a valuable resource both for learning new skills and for refreshing existing ones.
Daniel Tkach
7,608 PointsThank you for sharing Steven. Keep it up, you are good inspiration (much needed).
Steven Parker
231,269 PointsSteven Parker
231,269 PointsTo enable a complete and accurate analysis, make a snapshot of your workspace and post the link to it here.