Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

providing-consuming-services

Sterne14
Forks2
Aktualisiert26. März 2026 um 01:31

Provide and consume services in Visual Studio extensions. Use when the user asks how to create a custom VS service, register a service with ProvideServiceAttribute, consume services via GetServiceAsync or IServiceProvider, share state between extension components, use dependency injection with InitializeServices, proffer global or local services, query built-in VS services like SVsShell or SVsSolution, or use MEF imports to consume services in a Visual Studio IDE extension. Covers VisualStudio.Extensibility (out-of-process), VSIX Community Toolkit (in-process), and legacy VSSDK (in-process) approaches.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly