Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Tools for Office API Reference
CustomizeOffice2007Document Class (2007 System)

Defines an MSBuild task that generates a customized document for a Visual Studio Tools for Office project for the 2007 Microsoft Office system. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class CustomizeOffice2007Document _
    Inherits BuildTask
Visual Basic (Usage)
Dim instance As CustomizeOffice2007Document
C#
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CustomizeOffice2007Document : BuildTask

Set all of the CustomizeOffice2007Document properties and then call Execute to run this task.

CustomizeOffice2007Document generates a customized document based on a path to a source document, deployment manifest, and customization assembly. To check whether a customized document needs updating, use CheckOffice2007Document.

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.

System..::.Object
  Microsoft.Build.Utilities..::.Task
    Microsoft.VisualStudio.Tools.Office.BuildTasks..::.BuildTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks..::.CustomizeOffice2007Document
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker