CompilationSection.TargetFramework Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the version of the .NET Framework that the Web site targets.
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
Property Value
The version of the .NET Framework that the Web site targets. The default value is null
.
- Attributes
Examples
compilation Element (ASP.NET Settings Schema)
Remarks
For information about how to target a specific version of the .NET Framework, see .NET Framework Multi-Targeting for ASP.NET Web Projects.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.