I’ve a managed Explorer Bar (working in Internet Explorer) that is working reasonably well. Currently, the only way to debug it:
- Start IE outside VS
- From VS (Debug => Attach) Attach to the process “iexplore.exe”
Trying to do the following:
- Go to Project Properties => Debug tab
- Start External Program: c:\program files (x86)\internet explorer\iexplore.exe
- Command line argument: about:blank
- Hit F5
The first method is very cumbersome. With the second method, iexplore starts, but the debugger doesn’t recognize the breakpoints, don’t know why.
Any tip?
So … 3 months after I opened this question, here is the answer.
In Visual Studio, open an EXE as a new project:
then, open project property:
That’s it. F5 will now work. You can add this EXE project to the solution that contains your managed bho, and set the EXE project to be the Startup project.