Excel – VSTO Excel Workbook add-in not loading via Visual Studio debugger on 1 computer

excelms-officevsto

I have a VSTO Excel workbook project that I can debug fine on my laptop. The project solution also accesses some special hardware on another computer and the project was debugging there fine yesterday in VS2010. Today, it stopped hooking into Excel on debugging on this computer. F5 starts Excel, but the add-in doesn't load breakpoints in the Workbook startup events, etc… Same project from version control debugs fine on my laptop, so something is whacked with Excel or VS on this computer. I’ve seem some related notes/posts on VSTO logging and resetting Excel, but has any beat their head against this?

UPDATE: this solution didn't work for me.
As I was typing I found this similar and promising title…
Excel won't open/launch VSTO AddIn when running in debug mode of Visual Studio 2010

Best Answer

My issue occurred due to having the release version of the app installed and trying to run the debug version. Have to then uninstall the release version, Clean then Build, then re run the add in.

Weird!

Related Topic