Compartilhar via


InvalidProjectFileException.ProjectFile Property

Definition

Gets the file (if any) associated with this exception. This may be an imported file.

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

The name is poorly chosen as this may be a targets file, but the name has shipped now.

Applies to