IDE-Defined Commands for Extending Project Systems
When you want to extend project systems, you can use commands and command groups provided by the Visual Studio IDE.
The following sections list command items that are especially useful for extending project systems.
The following table shows the shortcut menus that apply when a single node is selected in the Solution Explorer, or when there are multiple homogenous selections in the Solution Explorer, which is when all selected nodes are of the same type.
Applies when the project node is selected.
Applies when a file is selected.
Applies when a folder is selected.
Applies when the Web Reference folder is selected.
Applies when the references root node called "References" is selected.
Applies when reference nodes are selected; these include assembly, COM, and project references only. Does not include Web references.
The following table shows the shortcut menus that apply when the selection in the Solution Explorer spans multiple hierarchies,
Applies when the current selection contains the solution node and root project nodes.
Applies when the current selection contains the solution node and project items.
Applies when the current selection consists of multiple root project nodes only.
Applies when the current selection contains a mix of root project nodes and project items. Additionally, the selection may contain the solution node.
Applies when the current selection contains project items from multiple projects in the solution, or when items of different types are selected in the same project.
The following table shows the command groups that you can use when you extend projects, and that you can access through the IDM_VS_CTXT_PROJNODE shortcut menu.
Commands for building, rebuilding, and deploying the project.
Commands for compiling and linking the project.
Commands that set project configuration and build order.
Commands that add items to the project.
Commands that set the startup project associated with the F5 key.
Commands for saving project items.
Commands for debugging.
Commands for source control.
Commands for cut, copy and paste operations.
Commands that provide access to the Project Properties dialog box.