SolutionBuild2::LastBuildInfo Property

 

Gets the number of projects that failed to build.

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

property int LastBuildInfo {
	int get();
}

Property Value

Type: System::Int32

The number of projects that failed to build.

A return value of zero indicates a successful build. The value of LastBuildInfo is undefined when the value of the BuildState property is vsBuildStateNotStarted.

This example builds the solution, and it then lists the number of failed builds. Open a project in the Visual Studio integrated development environment (IDE) before running this example.

No code example is currently available or this language may not be supported.
Return to top
Show: