Visual Studio Tools for Office API Reference
IsInvalidDocumentTask Class (2007 System)

Defines an MSBuild task that determines whether a customized Microsoft Office 2003 document should be updated. This class cannot be inherited.

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

Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class IsInvalidDocumentTask _
    Inherits BuildTask
Visual Basic (Usage)
Dim instance As IsInvalidDocumentTask
C#
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class IsInvalidDocumentTask : BuildTask
Remarks

This build task determines whether a customized document requires an update by testing if the source document or customization assembly has been changed since the customized document was first generated.

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

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.

Inheritance Hierarchy

System..::.Object
  Microsoft.Build.Utilities..::.Task
    Microsoft.VisualStudio.Tools.Office.BuildTasks..::.BuildTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks..::.IsInvalidDocumentTask
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Tags :


Page view tracker