CompilationSection.TargetFramework Proprietà

Definizione

Ottiene o imposta la versione di .NET Framework di destinazione del sito 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

Valore della proprietà

Versione di .NET Framework di destinazione del sito Web. Il valore predefinito è null.

Attributi

Esempio

Elemento compilation (schema impostazioni ASP.NET)

Commenti

Per informazioni su come specificare una versione specifica di .NET Framework, vedere .NET Framework multitargeting per progetti Web ASP.NET.

Si applica a