CompilationSection.TargetFramework Propiedad

Definición

Obtiene o establece la versión de .NET Framework que el sitio web tiene como destino.

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 propiedad

La versión de .NET Framework que tiene como destino el sitio web. El valor por defecto es null.

Atributos

Ejemplos

elemento compilation (esquema de configuración de ASP.NET)

Comentarios

Para obtener información sobre cómo establecer como destino una versión específica de .NET Framework, vea .NET Framework Multi-Targeting for ASP.NET Web Projects.

Se aplica a