Share via


InvalidProjectFileException.ProjectFile 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 project file (if any) associated with this exception.

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

Property Value

Project filename/path 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