Search code examples
c#visual-studio

Breakpoints set but not yet bound in Visual Studio


Running Visual Studio Community 2017. Created a WebAPI project, have a controller class in there, with some basic stuff, but when I go to run in debug mode, I get the following error on my breakpoints, and I haven't the foggiest idea why.

The breakpoint will not currently be hit. Breakpoints set but not yet bound.

I've seen a few answers here and there, but they don't help, or they're about Visual Studio Code, which I am definitely not using.

I found this, but it doesn't tell me what to do about my problem. How do I fix this issue?


Solution

  • Try setting your web project as default Startup Project.