Compartilhar via


BaseReference.TargetPath Property

Gets or sets the target path of the file. This is the path that is used for specification in the generated manifest.

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

Syntax

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

Property Value

Type: System.String
A string indicating the target path of the file.

.NET Framework Security

See Also

Reference

BaseReference Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace