ProjectInstance.Directory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The project's root directory, for evaluation of relative paths and setting the current directory during build. Is never null: projects not loaded from disk use the current directory from the time the build started.
public:
property System::String ^ Directory { System::String ^ get(); };
public string Directory { get; }
public string Directory { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Directory : string
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Directory : string
Public ReadOnly Property Directory As String
Property Value
The project root directory, which is never null. Projects not loaded from disk return the current directory at the time the build was started.
- Attributes