CompilationSection.TargetFramework Propriedade

Definição

Obtém ou define a versão do .NET Framework a que o site é destinado.

public:
 property System::String ^ TargetFramework { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("targetFramework", DefaultValue=null)]
public string TargetFramework { get; set; }
[<System.Configuration.ConfigurationProperty("targetFramework", DefaultValue=null)>]
member this.TargetFramework : string with get, set
Public Property TargetFramework As String

Valor da propriedade

String

A versão do .NET Framework que o site tem como destino. O valor padrão é null.

Atributos

Exemplos

Elemento compilation (esquema ASP.NET Configurações)

Comentários

Para obter informações sobre como direcionar uma versão específica do .NET Framework, consulte .NET Framework Multi-Targeting for ASP.NET Web Projects.

Aplica-se a