[英]Breakpoints are not hit when debugging, Outlook Add in
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. 我正在使用Visual Studio 2013,并且在一个解决方案中有大约10个项目。 one of them is Outlook Addin. 其中之一是Outlook Addin。
The Outlook refer to Debug Directory ( PROJECT_NAME/bin/Debug/AddinOutlook2013.vsto|vstoocal) Outlook指向调试目录(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. 单击Outlook中的Addin中的按钮后,成功显示一个简单的对话框(OK)。 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. 在Outlook Add in项目中调试时不会达到断点。
What I DID were : 我的DID是:
How can i hit the breakpoint ? 我如何达到断点?
Thank you for any help and advice. 感谢您的帮助和建议。
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. 然后关闭Outlook,然后以调试方式运行该解决方案。
Thank you for many helps! 感谢您的帮助!
I love you! 我爱你!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.