Defines an MSBuild task that determines whether a customized document in the 2007 Microsoft Office system should be generated. This class cannot be inherited.
<ComVisibleAttribute(False)> _ <PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _ Public NotInheritable Class CheckOffice2007Document _ Inherits BuildTask
Dim instance As CheckOffice2007Document
[ComVisibleAttribute(false)] [PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")] public sealed class CheckOffice2007Document : BuildTask
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 Visual Studio Tools for 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 Overview and MSBuild Reference.