__VSHPROPID4 Enumeration


Adds members to the __VSHPROPID enumeration that defines property identifiers for different aspects of the Visual Studio environment.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

public enum __VSHPROPID4

Member nameDescription

BOOL. Indicates whether your project always builds on debug launch (F5) when the “Only build startup projects and dependencies on Run” Tools option is set.

Set this property to true in your project hierarchy if you want your project to always build on debug launch in this case. This ensures that your project is built even if your project is not declared as a build dependency of the startup project. This property is a workaround for the fact that currently there is only support for build dependencies (IVsBuildDependency) and not deploy dependencies in the solution build manager. This property will be used rarely in circumstances where you may have a circular set of dependencies involving a combination of build and deploy dependencies between multiple projects (for example, A has a build dependency on B while B has a deploy dependency on A; if B is the startup project, then solution build manager would not realize it needs to build A to satisfy the required deploy dependency when the above mentioned Tools option is set).


BSTR. The build action for an item.


BSTR. A semicolon-delimited list of the projects required to build this project. If this property is not implemented, EnumDependencies will be used.


BSTR. A more descriptive name of the item. Used to replace the running document table moniker in document windows, tooltips, or other parts of the UI.


BSTR. A semicolon-delimited list of projects required to support design time features (IntelliSense, form designers, etc.). If this property is not implemented, VSHPROPID_BuildDependencies will be used instead.


BOOL. This item is external to the solution.


The first ID.


BOOL. Set this property to true in your project hierarchy if your web project supports being consumed by Silverlight.


VT_BSTR. The format for the target framework moniker is <Identifier>,Version=<ver>,Profile=<value>, e.g. .NETFramework,Version=v3.5,Profile=Client'.

Return to top