Tommy Sin

Tommy Sin

  • NA
  • 19
  • 103.5k

Regarding Excel Debug on VSTO 2010

May 13 2011 9:31 AM
I am currently implementing excel add-in but there is some error with "start debugging" on excel.

For now, I can debug by "attach to process" (ctrl + alt + p) and it debugs perfect!

However, I want to debug by "start debugging" (F5) as it is really annoying to close and open excel and attach to process whenever I want to debug. 

So, I opened the properties of the main assembly and changed some settings to make it work.
However, it opens the excel file but debugging does not work.
Do you have any idea what I should do to make it work?
The following is the setting that I set up to debug.




Configuration: Active (Debug)                        Platform: Active (Any CPU)

Start Action
        
        start external program: C:\Program Files\Microsoft Office\Office12\EXCEL.EXE
        Command line arguments: TestBook.xlsx