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 - 2024 Vlasov Studio (Best in class Visual Studio extensions and tools)