Failed to start debugging in Visual Studio 2005

My Start Debugging button and item menu are grayed out ... but only on one of my projects (on the ASP.NET website). I have no idea what I did to disable it.

I already checked everything on the properties page of both the solution and the project. I even compared it to another project, but nothing like the trick ... maybe I missed the option?

+3
source share
5 answers

It looks like your startup projects are set to "run without debugging," as this will cause the button and item to be grayed out.

This can be fixed from Solution -> Set StartUp Projects.

+5
source

Is this a launch project? You can only debug projects that you can run.

+3

Right-click on the project and click on properties. Then click โ€œLaunch Optionsโ€ (or something similar) to see the settings. If this is an executable project, you probably want to choose the option that will launch the project output.

0
source

If you can run the project, you can usually attach the debugger using Ctrl + Alt + P (or select Attach to Process from the Debug menu), and then select the process from the list that appears.

0
source

Are you running the COM + Event Service service?

0
source

Source: https://habr.com/ru/post/1697985/


All Articles