ProjectOnErrorInstance Class

Definition

Wraps an onerror element

C#
public sealed class ProjectOnErrorInstance : Microsoft.Build.Execution.ProjectTargetInstanceChild
Inheritance
ProjectOnErrorInstance

Remarks

This is an immutable class

Properties

Condition

Unevaluated condition. May be empty string.

ConditionLocation

Location of the condition, if any

ExecuteTargets

Unevaluated ExecuteTargets value. May be empty string.

ExecuteTargetsLocation

Location of the execute targets attribute, if any

FullPath

Full path to the file in which the originating element was originally defined. If it originated in a project that was not loaded and has never been given a path, returns an empty string.

(Inherited from ProjectTargetInstanceChild)
Location

Location of the element

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17