MZ-Tools Articles Series (Updated): PRB: Visual Studio .NET events being disconnected from add-in.

As you may know if you are a C# add-in programmer, DTE events can get disconnected if you don’t hold a class variable pointing to them (VB.NET add-in programmers tend to use the WithEvents approach which already uses a class variable so they don’t suffer this problem). Although this issue is well documented in MSDN, FAQs, blogs, and an article of mine, etc., it was not clear yet for some people why a garbage collection happened if VS holds a reference to the object raising the events. So, I have updated the article to explain it more clearly:

PRB: Visual Studio .NET events being disconnected from add-in.
http://www.mztools.com/articles/2005/mz2005012.aspx