MSBuild.TargetAndPropertyListSeparators 属性

定义

在处理前,将对 Targets、Properties(包括作为 Project 项元数据的 Properties 和 AdditionalProperties)恢复原义。Unescape Targets, Properties (including Properties and AdditionalProperties as Project item metadata) will be un-escaped before processing. 例如,任何一个字符串中的 %3B(转义的“;”)将被视为恢复原义的“;”e.g. %3B (an escaped ';') in the string for any of them will be treated as if it were an un-escaped ';'

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property cli::array <System::String ^> ^ TargetAndPropertyListSeparators { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] TargetAndPropertyListSeparators { get; set; }
member this.TargetAndPropertyListSeparators : string[] with get, set
Public Property TargetAndPropertyListSeparators As String()

属性值

String[]

要从指定的 PropertiesTargets 中恢复原义的转义符。The escape characters to be unescaped from the specified Properties and Targets.

注解

null对于 MSBuild unescape 属性和目标的任务,必须将此属性设置为以外的值。This property has to be set to a value other than null for the MSBuild task to unescape properties and targets.

适用于