共用方式為


Project.FullFileName Property

Gets or sets the fully qualified path and file name of the project 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.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

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

Property Value

Type: System.String
The full path of the project file.

Remarks

This property is an empty string if the project does not have a file associated with it.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace