Automation for Configuration and SelectedItem objects
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. 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 Understand 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.VSHPROPID_ExtSelectedItem.