Partilhar via


Project.FullPath Property

Gets or sets the full path to the project source file.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property FullPath As String
public string FullPath { get; set; }
public:
property String^ FullPath {
    String^ get ();
    void set (String^ value);
}
member FullPath : string with get, set
function get FullPath () : String 
function set FullPath (value : String)

Property Value

Type: System.String
Returns the full path to the project source file. Returns an empty string if the project was not loaded from disk.

Remarks

Setting this property on a project in a project collection renames the project.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace