InvalidProjectFileException.LineNumber 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 invalid line number (if any) in the project.

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

Property Value

The invalid line number, or zero.

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