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 trialUnsubscribed User
2,446 PointsSomething is extremely wrong..........
So I forgot to add a closing curly brace for the Invader class in invader.cs,\ it gives me the following error: Invader.cs(30,246): error CS1525: Unexpected symbol `end-of-file'
Then when I go to fix it, everything breaks:
Game.cs(30,19): error CS1502: The best overloaded method match for TreehouseDefense.In
Invader.cs(14,14): (Location of the symbol related to previous error)
Game.cs(30,31): error CS1503: Argument
#1' cannot convert TreehouseDefense.MapLocatio
Game.cs(40,33): error CS0246: The type or namespace name
level' could not be found. Ar
Invader.cs(9,44): error CS1061: Type TreehouseDefense.Path' does not contain a definit
ssing an assembly reference?
Path.cs(3,11): (Location of the symbol related to previous error)
Level.cs(19,19): error CS0103: The name
remainingInvaders' does not exist in the curre
Level.cs(27,17): error CS0103: The name remainingInvaders' does not exist in the curre
Level.cs(30,32): error CS1061: Type
TreehouseDefense.Invader' does not contain a defin
an assembly reference?
Invader.cs(3,11): (Location of the symbol related to previous error)
Level.cs(39,23): error CS0103: The name remainingInvaders' does not exist in the curre
Tower.cs(20,24): error CS1061: Type
TreehouseDefense.Invader' does not contain a defin
an assembly reference?
James Churchill
Treehouse TeacherCole,
Were you able to resolve this issue?
Thanks ~James
olu adesina
23,007 Pointsi would recommend using visual studio it underlines errors while your typing and shows possible solutions
Steven Parker
231,269 PointsSteven Parker
231,269 PointsThe best way to get help with project issues is to make a snapshot of your workspace and post the link to it here.