Share via


GenerateApplicationManifest.OSVersion Property

Definition

Gets or sets the operating system (OS) version that is the minimum required by the application.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ OSVersion { System::String ^ get(); void set(System::String ^ value); };
public string OSVersion { get; set; }
public string OSVersion { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.OSVersion : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.OSVersion : string with get, set
Public Property OSVersion As String

Property Value

The OS version that is the minimum required by the application.

Attributes

Remarks

For example, the value "5.1.2600.0" indicates that the operating system is Windows XP. If this property is not specified, the value "4.10.0.0" is used. This indicates Windows 98 Second Edition, which is the minimum supported operating system for the .NET Framework.

If the task is generating a native manifest, this input is ignored.

Applies to