Usercontrols hosted in toolwindows still requiring ComVisible(True) attribute

June 14, 2009

Another scenario where a managed add-in for VS 2005 or higher still requires the ComVisible(True) attribute (apart from the Connect class that I blogged about in the last post) is when creating toolwindows with the EnvDTE80.Windows2.CreateToolWindow2 method: if you move the ComVisible(True) attribute from the AssemblyInfo file to the Connect class (which is actually the […]


Managed add-ins still requiring ComVisible(True) attribute

June 14, 2009

While add-ins for Visual Studio .NET 2002/2003 required COM registration (COM Interop) and registration for Visual Studio using the Windows registry, Visual Studio 2005 introduced XML-registration (.AddIn file) and removed the need for COM registration, both a big advance. Then, one day, visiting the assemblyinfo.vb file that is not very much visited, you notice the […]