GenerateDeploymentManifest.UpdateMode Property

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

Gets or sets a Boolean value that indicates whether updates should be checked. Updates can be checked before the application is started (in the foreground), or when the application is running (in the background).

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
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

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

Property Value

Type: System.String
true if updates should be checked; otherwise, false.

Remarks

This property can have the following values:

  • Foreground (before the application is started)

  • Background (when the application is running)

The default value is Background. This property only applies when the values of the Install and UpdateEnabled properties are both true.

.NET Framework Security

See Also

Reference

GenerateDeploymentManifest Class

Microsoft.Build.Tasks Namespace