Can't run program because it asks me to attach on process

Nicolas Rossi picture Nicolas Rossi · May 25, 2015 · Viewed 30.4k times · Source

I'm new to C# Programming, and instead of just letting me run the code by pressing F5, "Attach..." appears where the Run button should be and it won't let me run the code. This has happened me twice by now and I don't know how to make the "Run" button appear again, because I can't test any program I write.

Answer

LeBaptiste picture LeBaptiste · May 25, 2015

Make sure you have your solution opened, then right click on your project > Set as Start Up Project