I have so many different C# source projects that run OK on other computers.
But on one computer, using Visual Studio 2013, when i press F5 to run the project, the "Attach to Process" window opens.
I searched a lot but no one have had my problem. Why is it like this? How can i fix it?
Edit:
I re installed the VS with C# configurations but it did not change anything. the Start Debugging option is disabled just like the screen shot below:
That will occur when you don't have a startup project set.
Right click the project you want to start and select "Set as Startup Project". Now F5 will run that project.
One other thing to try; from F5 or Start Debugging Button is Greyed Out for Winform application? is to:
Do you have DebugDiag or some other debugger (eg WinDbg) running in the background? Sometimes they are configured to automatically attach to a running process. Keep in mind only one debugger can be attached to one process.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.