Share via


CheckOffice2007Document.RecustomizeDocument Property

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

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

Syntax

'Declaration
<OutputAttribute> _
Public ReadOnly Property RecustomizeDocument As Boolean
    Get
[OutputAttribute]
public bool RecustomizeDocument { get; }

Property Value

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

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.

.NET Framework Security

See Also

Reference

CheckOffice2007Document Class

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace