Visual Studio supports two separate automation interfaces: DTE and Package. DTE covers most common tasks and is easier to use, Package offers more capabilities. You can use both interfaces simultaneously. In Visual Commander the DTE interface is available with the EnvDTE80.DTE2 DTE object. Package services are obtained with the GetService method of the Microsoft.VisualStudio.Shell.Package package object (see the example for IVsStatusbar).
Copyright 2008 - 2017 Vlasov Studio (Visual Studio extensions and tools)