Erweitern der Visual Studio-Umgebung
Aktualisiert: November 2007
Although Visual Studio offers many tools and the power to accomplish almost every task, you may require an additional or finer level of control. For example, you may want to automate a task or a series of tasks that you perform regularly. Or you may have designed tools that you want to use in the Visual Studio integrated development environment (IDE).
Visual Studio includes Automation object models, which are rich programming models that let you automate the IDE and also provide extensions and new features to it. Each model concentrates on a particular area of the IDE, such as the tool windows, the code editor, the various projects, and so forth.
The sections below introduce you to automation and extensibility and show you how to use them to make programming easier.
In diesem Abschnitt
Empfohlene Vorgehensweisen für die Sicherheit bei der Automatisierung
Provides advice to help you secure Visual Studio and your automation applications.Das Automatisierungsspektrum von Visual Studio
Outlines the types of automation projects available to you in Visual Studio: macros, add-ins and wizards, and VSIP.Auswählen des geeigneten Automatisierungsansatzes
Helps you choose the most effective tools to use to accomplish your automation tasks.Funktionelle Automatisierungsgruppen
Lists the various areas of Visual Studio that can be automated.Zugreifen auf das Automatisierungsmodell mithilfe von Makros
Illustrates how to program against the various automation models by using macros.Erstellen von Add-Ins und Assistenten
Describes the concepts of automation and extensibility, as well as the fundamentals of how to create Add-ins and wizards.Verweisen auf Automatisierungsassemblys und das DTE2-Objekt
Provides details about how to use the essentials tools of automation.Steuern von Projekten und Projektmappen
Illustrates how to control projects and solutions by using Visual Studio automation objects; how to save variables between IDE sessions; how to work with solution items, miscellaneous items, and unmodeled projects; and how to create solution configurations.Erstellen und Steuern von Umgebungsfenstern
Explains how to create and control tool windows, change window characteristics, automate text search and replace, control macros, control tools options settings, discover code with the Code model, and manipulate tree views by using UIHierarchy.Gewusst wie: Erstellen einer Instanz und Anfügen an eine andere Instanz von Visual Studio
Explains how to create a new instance of Visual Studio or attach to an existing one.Reagieren auf Automatisierungsereignisse
Demonstrates how to use the Visual Studio Automation model to handle events that occur in the environment.Gewusst wie: Hinzufügen und Ändern von Befehlen
Explains how to create and manipulate commands on Visual Studio menus or toolbars by using the Visual Studio automation model.Exemplarische Vorgehensweise: Erstellen von verwalteten Satelliten-DLLs
Provides information about how to create satellite DLLs, which can contain resources for use in your automation applications.Implementieren und Verwenden von Automatisierungsextendern
Explains how to add and filter properties on objects by using Automation Extenders.
Verwandte Abschnitte
Anpassen der Entwicklungsumgebung
Demonstrates how to customize toolbars, shortcut keys, and other Visual Studio items.Automatisieren von wiederkehrenden Aktionen mit Makros
Explains how to create and use macros to automate actions in Visual Studio.