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 trial

C# C# Objects Object-Oriented Programming Fields

I received an error when I tried to fix the compile errors: errorCS2005:Missing file specification for '/out' option

This question is related to the C# video where Jeremy discusses Fields and he tries to build and realizes he must remove the Game.exe file. So I removed the Game.exe file and did exactly what he said to do, but I still get an error.

1 Answer

Austin Bos
Austin Bos
2,717 Points

I just went through this video and had the same issue. My problem was that I was writing it incorrectly. its should look something like this -- mcs -out:TreehouseDefense.exe *.cs . Do not put a space between the colon and what you want to name the file.