CompilationSection.TargetFramework Propriedade

Definição

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

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

A versão do .NET Framework direcionada ao site. O valor padrão é null.

Atributos

Exemplos

elemento compilação (ASP.NET Settings Schema)

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