InvalidProjectFileException.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 Gets the error code (if any) associated with the exception message.

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

Error code string, or null.

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