CompilationSection.TargetFramework Propriedade

Definição

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

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 de Propriedade

A versão do framework .NET que o site tem como alvo. O valor predefinido é null.

Atributos

Exemplos

compilation Element (ASP.NET Settings Schema)

Observações

Para 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