Compartir a través de


Commands and Menus That Use Interop Assemblies

A VSPackage that implements menu and toolbar commands by using interop assemblies must:

  • Inform the Visual Studio integrated development environment (IDE) about the commands it supports and whether they are currently enabled.

  • Adhere to the rules (contract) for handling commands.

  • Explicitly implement command handling by using either the IOleCommandTarget or IVsUIHierarchy interface.

The following describes how to do these tasks.

In This Section