Erstellen von Add-Ins und Assistenten

Aktualisiert: November 2007

Although Visual Studio offers developers many tools and the power to accomplish almost every task, some developers require an additional or finer level of control. For example, they might have a task or series of tasks that they perform regularly and would like to automate. To address this issue, Visual Studio features a rich programming model, known as the Automation model, for extending and automating its integrated development environment (IDE). The Automation model provides the ability to automate the environment and provide extensions and new features to it.

To learn more about

See

Recording and running macros

Automatisieren von wiederkehrenden Aktionen mit Makros

The three ways to access Visual Studio Automation

Das Automatisierungsspektrum von Visual Studio

Functional groups of objects in the automation object model

Funktionelle Automatisierungsgruppen

How to create Add-ins

Gewusst wie: Erstellen von Add-Ins

How to reference the EnvDTE namespace and obtain an instance of the DTE object

Verweisen auf Automatisierungsassemblys und das DTE2-Objekt

Registering an Add-in

Add-In-Registrierung

How to limit access to your project's .Addin XML registration file

Add-In-Sicherheit

Exposing Add-ins on menus and toolbars

Anzeigen von Add-Ins auf Symbolleisten und in Menüs

Connecting add-ins to shortcut keys

Zuordnen von Add-In-Befehlen zu Tasten

New changes in command bar functionality

CommandBar-Änderungen in Visual Studio 2005

How to restore commands that disappear from a menu

Gewusst wie: Wiederherstellen von Add-In-Befehlen im Menü

Loading, unloading, and controlling Add-ins in the environment

Gewusst wie: Steuern von Add-Ins mit dem Add-In-Manager

Debugging Add-ins

Exemplarische Vorgehensweise: Debuggen eines Add-In-Projekts

Creating a Wizard

Exemplarische Vorgehensweise: Erstellen eines Assistenten

Starting wizards programmatically

Kontextparameter zum Starten von Assistenten

Wizard (.vsz) files

Konfigurieren von VSZ-Dateien zum Starten von Assistenten

VSDir files, and how they affect the Add Item and New Project dialog boxes

Hinzufügen von Assistenten zu den Dialogfeldern Element hinzufügen und Neues Projekt mithilfe von VSDIR-Dateien

How to programmatically create a new instance of Visual Studio or attach to a specific instance of Visual Studio that is already running

Gewusst wie: Erstellen einer Instanz und Anfügen an eine andere Instanz von Visual Studio

How to upgrade automation projects from previous versions of Visual Studio to Visual Studio 2008.

Migrieren und Aktualisieren von Add-Ins von Visual Studio 2005 auf Visual Studio 2008

Siehe auch

Konzepte

Diagramm "Automationsobjektmodell"

Referenz

Visual Studio-Befehle und -Schalter

Weitere Ressourcen

Referenz zur Automatisierung und Erweiterbarkeit