I'm developing an add-in to Outlook and when I run the debugger it gets installed into the registry (with all that's necessary). When I exit, I try to remove it (clean solution) so it doesn't reside in Outlook when I'm not developing.
Often, I forget to do that meaning that when I start my Outlook to actually check my mail, I get all the development stuff thrown in my face (a lot of alerts and testing reports).
I know there's a way to run some scripts at the end of debugging (VS2010) but I have no idea how to compose such a thing. Suggestions?