다음을 통해 공유


ApplicationManifest.OSVersion Property

Definition

Gets or sets the minimum OS version required by the application.

public:
 property System::String ^ OSVersion { System::String ^ get(); void set(System::String ^ value); };
public string OSVersion { get; set; }
member this.OSVersion : string with get, set
Public Property OSVersion As String

Property Value

A string that indicates the minimum required operating system version required by the application.

Remarks

An example value is "5.1.2600.0" for Windows XP. If you don't specify a value, a default value is used. The default value is the minimum supported OS of the .NET Framework, which is "4.10.0.0" for Windows 98 Second Edition. However, if the application contains any native or Reg-Free COM references, then the default is the Windows XP version, which is "5.1.2600.0". For a Win32 native manifest, this input is ignored.

Applies to