SolutionContext::ShouldBuild Property

 

Sets or returns whether the current project is built when the solution configuration associated with this SolutionContext is selected.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property bool ShouldBuild {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

A Boolean value indicating true if the project should be built, false if not.

If the project does not support being built, ShouldBuild is always false, and setting it to true has no effect.

Return to top
Show: