共用方式為


Csc.GenerateFullPaths Property

Definition

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).

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

public:
 property bool GenerateFullPaths { bool get(); void set(bool value); };
public bool GenerateFullPaths { get; set; }
member this.GenerateFullPaths : bool with get, set
Public Property GenerateFullPaths As Boolean

Property Value

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 (C# Compiler Options).

Applies to