Share via


CheckOffice2007Document.RecustomizeDocument Property

Definition

Gets a value that indicates whether any Office customization assemblies or documents in a document-level project have changed.

public:
 property bool RecustomizeDocument { bool get(); };
[Microsoft.Build.Framework.Output]
public bool RecustomizeDocument { get; }
[<Microsoft.Build.Framework.Output>]
member this.RecustomizeDocument : bool
Public ReadOnly Property RecustomizeDocument As Boolean

Property Value

true if any conditions have changed since the previous build; otherwise, false. The default is false.

Attributes

Remarks

If this property returns true, a new version of the customized document needs to be generated. To generate a new version of the customized document, use CustomizeOffice2007Document.

This property returns true if any of the following conditions have been met:

  • The destination document does not exist at the specified path.

  • The destination document is not customized.

  • The destination document has the old customization.

  • The source document has changed.

In addition, both of the following must be true:

  • The customization assembly exists and has not been moved.

  • The deployment manifest exists and has not been moved.

Applies to