The BuildResult
property of the CompileGroup
class provides the results of the most recent build operation. It indicates whether the build was successful or not.
The BuildResult
property of the CompileGroup
class provides the results of the most recent build operation. It indicates whether the build was successful or not.
To access the BuildResult
property, you need to have an instance of the CompileGroup
class. This property is read-only and returns a Results
object, which contains information about the build status.
// Assuming 'compileGroup' is an instance of CompileGroup var buildResult = compileGroup.BuildResult; if (buildResult.Success) { // Handle successful build } else { // Handle build failure }