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
code doesn't work
i've been following along ever since the video began. now my code won't work and i have no clue why. when I compile Point class, it says I'm missing a main method. when i compile the MapLocation class, it says that the class I'm inheriting from (Point) does not exist. when i compile in Game class, it says that I'm missing a bunch of assembly references. lastly, when i try to compile every file at once, it says that that "TreehouseDefense is a binary file and not a text file" and "file .cs doesn't exist"
Steven Parker228,025 Points
You might be using the wrong command to build.
Try using this command to build your program
Then this command to run the program
Also, you have a typo on line 15 of Game.cs where instead of "point" (lower-case "p") you have "Point" (capital "P").