Automation for Configuration and SelectedItem Objects
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
You can automate the build and selected item processes in Visual Studio.
Automation for Builds
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.
Automation for SelectedItem
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.
See Also
GetPropertyPage
Contributing to the Automation Model
Understanding Build Configurations