ProjectOnErrorInstance Class
Wraps an OnError Element (MSBuild).
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Assembly: Microsoft.Build (in Microsoft.Build.dll)
Microsoft.Build.Execution::ProjectTargetInstanceChild
Microsoft.Build.Execution::ProjectOnErrorInstance
| Name | Description | |
|---|---|---|
![]() | Condition | Gets the unevaluated Condition attribute value of this OnError element. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides ProjectTargetInstanceChild::Condition.) |
![]() | ConditionLocation | Location of the condition, if any MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides ProjectTargetInstanceChild::ConditionLocation.) |
![]() | ExecuteTargets | Gets the unevaluated ExecuteTargets attribute value of this OnError element. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | ExecuteTargetsLocation | Location of the execute targets attribute, if any MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | FullPath | Gets the full path to the file from which this task originated. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from ProjectTargetInstanceChild.) |
![]() | Location | Location of the element MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides ProjectTargetInstanceChild::Location.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
This is an immutable class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

