[VSTO] Debugging VSTO applications

One very useful trick to debug VSTO applications is this “cheeky” flag: VSTO_SUPPRESSDISPLAYALERTS. It’s a environment variable to enable error messages about dodgy exceptions, like COM exceptions. For example, I was getting a strange behavior in my Office Word application when I was trying to add a new Plain Text Control: However, my VSTO application … Continue reading [VSTO] Debugging VSTO applications