Compartir a través de


Csc.GenerateFullPaths Property

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

Gets or sets a Boolean value that indicates whether to generate the absolute path to the file in the compiler output (true) or to generate the name of the file in the compiler output (false).

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
Public Property GenerateFullPaths As Boolean
public bool GenerateFullPaths { get; set; }
public:
property bool GenerateFullPaths {
    bool get ();
    void set (bool value);
}
member GenerateFullPaths : bool with get, set
function get GenerateFullPaths () : boolean 
function set GenerateFullPaths (value : boolean)

Property Value

Type: System.Boolean
true if the Csc task should generate the absolute path to the file in the compiler output; false if the Csc task should generate the name of the file in the compiler output.

Remarks

The default is false. For more information, see /fullpaths (Specify Fully Qualified Path in Compiler Output) (C# Compiler Options).

.NET Framework Security

See Also

Reference

Csc Class

Microsoft.Build.Tasks Namespace