I spend to resolve this issue for half of my working day but I could not find out the solution. I am using Visual Studio 2013 and have around 10 projects in one solution. one of them is Outlook Addin.
The Outlook refer to Debug Directory ( PROJECT_NAME/bin/Debug/AddinOutlook2013.vsto|vstoocal)
It success to show up a simple dialog ( OK ) when a button in Addin in Outlook was clicked. But when i put the break point that code, it is never hit.
PROBLEM
Breakpoints are not hit when debugging in Outlook Add in project.
What I DID were :
- Tried to this link https://www.add-in-express.com/docs/net-deploying-debugging-tips.php
- Run the both window application and outlook after re-installed the add in.
- Enable 'Define DEBUG constant' and disable 'Optimize code'
- Set the 'Startexternal program' to the outlook application '.exe' path.
How can i hit the breakpoint ?
Thank you for any help and advice.