Project.HasToolsVersionAttribute Propriedade

Definição

Obterá se o arquivo de projeto tiver o atributo XML ToolsVersion.Gets whether the Project file has the ToolsVersion XML attribute.

public:
 property bool HasToolsVersionAttribute { bool get(); };
public bool HasToolsVersionAttribute { get; }
member this.HasToolsVersionAttribute : bool
Public ReadOnly Property HasToolsVersionAttribute As Boolean

Valor da propriedade

Boolean

true Se o projeto tiver o atributo ToolsVersion; caso contrário, false .true if the project has the ToolsVersion attribute; otherwise, false.

Comentários

Um atributo de exemplo ToolsVersion é Project ToolsVersion="3.5" .An example ToolsVersion attribute is Project ToolsVersion="3.5". Esse atributo habilita projetos para as versões de .NET Framework de destino, atualmente 2,0, 3,0 e 3,5.This attribute enables projects to target .NET Framework versions, currently 2.0, 3.0, and 3.5.

Aplica-se a