다음을 통해 공유


ApplicationManifest.OSVersion Property

Gets or sets a value that specifies the minimum required operating system version required by the application.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property OSVersion As String
public string OSVersion { get; set; }
public:
property String^ OSVersion {
    String^ get ();
    void set (String^ value);
}
member OSVersion : string with get, set
function get OSVersion () : String 
function set OSVersion (value : String)

Property Value

Type: System.String
A string that indicates the minimum required operating system version required by the application.

Remarks

Specifies the minimum operating system version required by the application. An example value is "5.1.2600.0" for Windows XP. If this input is not specified, a default value is used. The default value is the minimum supported operating system of the .NET Framework, which is "4.10.0.0" for Windows 98SE. However, if the application contains any native or Reg-Free COM references, the default is Windows XP. For a native Win32 manifest, this input is ignored.

.NET Framework Security

See Also

Reference

ApplicationManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace