CompilationSection.TargetFramework Propiedad

Definición

Obtiene o establece la versión de .NET Framework de destino del sitio web.

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

String

Versión de .NET Framework de destino del sitio web. El valor predeterminado es null.

Atributos

Ejemplos

Elemento compilation (Esquema de configuración de ASP.NET)

Comentarios

Para obtener información sobre cómo dirigirse a una versión específica del .NET Framework, vea .NET Framework Multi-Targeting for ASP.NET Web Projects.

Se aplica a