Automation for Configuration and SelectedItem Objects

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Automation for Configuration and SelectedItem Objects.

You can automate the build and selected item processes in Visual Studio.

Build or configuration has an automation model that is provided when you implement IVsCfgProvider. For more information, see Understanding Build Configurations.

If you create a VSPackage and want to control configuration options, you must use the automation model.

You do not have to provide an implementation for the SelectedItem object because Visual Studio contains a standard implementation. However, you can implement the SelectedItem object if you prefer. You must implement an object that contains the SelectedItem interface and return a response to a call to the GetPropertyPage method with VSITEMID set to VSHPROPID_ExtSelectedItem.

GetPropertyPage
Contributing to the Automation Model
Understanding Build Configurations

Show: