Breakpoints are not hit when debugging, Outlook Ad

2019-09-05 15:09发布

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 :

How can i hit the breakpoint ?

Thank you for any help and advice.

1条回答
smile是对你的礼貌
2楼-- · 2019-09-05 15:35

Resolved !!!!

Thank you for many helps. Finally i have done it !!

How did I fix

Set the Startup Project to Addin Project. Then Close Outlook and then Run as Debug for the Solution.

Thank you for many helps!

I love you!

查看更多
登录 后发表回答