I\'m trying to develop my first visual studio extensions project, I have VS10 SDK installed and was able to create a new project and can build it fine, however when I attemp
I had the same looking issue - debugging would start but wherever I would set a breakpoint I'd see it "useless" and with "breakpoint will not be hit" annotation. I checked all the stuff in the other answers here and then I found a "contributor guide" in one plugin project repository (permalink to specific version).
So what helped me was the following: open the project properties, and on the "Debug" tab ensure that:
"Start action" is set to "Start external program" and the path matches the path to devenv.exe
- such as "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe" - that's what it was by default.
"Start options" had "command line arguments" set to /rootsuffix Exp
- that was missing by default and I had to add it.
So once I added /rootsuffix Exp
it would start working - next time I pressed F5 the breakpoints in the plugin code would work.