Share via


InvalidToolsetDefinitionException.ErrorCode Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

The MSBuild error code corresponding with this exception, or null if none was specified.

public:
 property System::String ^ ErrorCode { System::String ^ get(); };
public string ErrorCode { get; }
public string ErrorCode { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.ErrorCode : string
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ErrorCode : string
Public ReadOnly Property ErrorCode As String

Property Value

A string representing the error code.

Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to