Compartilhar via


DeployManifest.MinimumRequiredVersion Property

Gets or sets the minimum required version number for an 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 MinimumRequiredVersion As String
public string MinimumRequiredVersion { get; set; }
public:
property String^ MinimumRequiredVersion {
    String^ get ();
    void set (String^ value);
}
member MinimumRequiredVersion : string with get, set
function get MinimumRequiredVersion () : String 
function set MinimumRequiredVersion (value : String)

Property Value

Type: System.String
A string indicating the minimum required version number for an application.

Remarks

If the user's computer has a version of the application that is lower than the minimum required version specified by this property, the user will not have the option to skip the update. The default is to have no minimum required version. This input applies only when Install is set to true.

.NET Framework Security

See Also

Reference

DeployManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace