CheckOffice2007Document Class

Definition

Defines an MSBuild task that determines whether a customized document in the 2007 Microsoft Office system should be generated. This class cannot be inherited.

public ref class CheckOffice2007Document sealed : Microsoft::VisualStudio::Tools::Office::BuildTasks::BuildTask
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class CheckOffice2007Document : Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
[<System.Runtime.InteropServices.ComVisible(false)>]
type CheckOffice2007Document = class
    inherit BuildTask
Public NotInheritable Class CheckOffice2007Document
Inherits BuildTask
Inheritance
CheckOffice2007Document
Attributes

Remarks

Set all of the CheckOffice2007Document properties, and then call Execute to run this build task.

CheckOffice2007Document checks to see whether a customized document requires updating. To generate a new version of the customized document after you have changed the source document, deployment manifest, or customization assembly, use CustomizeOffice2007Document.

The Microsoft Build Engine uses Microsoft.VisualStudio.Tools.Office.BuildTasks to build and deploy Office solutions. However, you can create your own build system by using these classes and the MSBuild XML-based project files. For more information, see MSBuild Reference.

Constructors

CheckOffice2007Document()

Initializes a new instance of the CheckOffice2007Document class.

Properties

DeploymentManifest

Gets or sets the relative or fully qualified path of the deployment manifest.

DestinationDocument

Gets or sets the relative or fully qualified path of the customized document that is created by calling Execute().

DocumentCustomization

Gets or sets the relative or fully qualified path of the customization assembly.

RecustomizeDocument

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

SourceDocument

Gets or sets the relative or fully qualified path of the version of the document that is in the project folder.

Methods

Execute()

Determines whether a customized document in the 2007 Microsoft Office system should be generated.

Applies to