VSTO - Office Addin

Mar 6, 2015 at 4:05 PM
Wondering if it's possible to debug a Microsoft Office addin (VSTO) project? Generally, these are hosted by the word.exe or excel.exe... is it possible?
Apr 1, 2015 at 12:34 PM
I'm pretty sure that its possible. I haven't tested profiler with VSTO, but it works well with automation add-ins. To profile Office add-in you need to run profiling of Office App (excel, word, ppt).
But there are several possible issues:
  1. Office App can host 2 versions of runtime (2.0 and 4.0) if 2 different add-ins require different CLR. In this case only first loaded runtime will be profiled.
  2. Unfortunately the profiler may not with 64-bit version of Office.