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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Raymond Yau](https://secure.gravatar.com/avatar/2dd3a10b446759eb80393055d39d64fc?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Raymond Yau
811 PointsProgram.exe created, but will not run.
Hi,
Like many before me, I've got trouble running Program.exe:
I've followed every single step and ensured my code is exactly the same as the code in the video. I done the following:
Checked all the syntax (and caps),
Saved All,
mcs Program.cs,
Ls command to confirm I created the .exe file,
mono Program.exe - nothing happens... It should Print the string "Enter...",
Thrown in an extra Readline for good measure, but no luck.
Really frustrating.
2 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsYou need to rebuild your executable.
When I check the modification times on your files (using "ls -l
"), I see that the source was modified after the executable was built. Rebuilding the executable now will create one that does print out "Enter " when it is run.
I tried it myself and confirmed it.
![Samuel Savaria](https://secure.gravatar.com/avatar/631d4566d3d14ab3d8ddc2da05793de3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Samuel Savaria
4,809 PointsDid you simply type "mono Program" or did you type "mono Program.exe"? In the description, you seem to be missing the .exe, I doubt that is the issue but it's worth trying.
![Raymond Yau](https://secure.gravatar.com/avatar/2dd3a10b446759eb80393055d39d64fc?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Raymond Yau
811 Pointsmono Program.exe, is there a way I can post screenshots on this forum? It's probably best I showed an image of it.
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsScreenshots are not very useful for diagnosing issues.
You already did the right thing posting the snapshot link.
Raymond Yau
811 PointsRaymond Yau
811 PointsHey Steve,
Yeah I restarted the browser and modified the file shortly after that. I still don't see why it didn't work at first as the code itself was completely unchanged. I just simply followed the same steps again after restarting.