Csc.GenerateFullPaths 属性
定义
获取或设置一个布尔值,该值指示是在编译器输出中生成文件的绝对路径 (true) 还是在编译器输出中生成文件的名称 (false)。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).
此 API 支持产品基础结构,不能在代码中直接使用。
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
属性值
true 如果 Csc 任务应在编译器输出中生成文件的绝对路径,则为; 否则为。 false 如果 Csc 任务应在编译器输出中生成文件的名称,则为。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.
注解
默认值为 false。The default is false. 有关详细信息,请参阅 /fullpaths (c # 编译器选项) 。For more information, see /fullpaths (C# Compiler Options).