共用方式為


AssignTargetPath.RootFolder Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the root folder that the target file paths are relative to.

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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<RequiredAttribute> _
Public Property RootFolder As String
[RequiredAttribute]
public string RootFolder { get; set; }
[RequiredAttribute]
public:
property String^ RootFolder {
    String^ get ();
    void set (String^ value);
}
[<RequiredAttribute>]
member RootFolder : string with get, set
function get RootFolder () : String 
function set RootFolder (value : String)

Property Value

Type: System.String
The root folder that the target file paths are relative to.

.NET Framework Security

See Also

Reference

AssignTargetPath Class

Microsoft.Build.Tasks Namespace