CustomizeOffice2007Document Class

CustomizeOffice2007Document Class

 

Defines an MSBuild task that generates a customized document for projects developed 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)

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks.CustomizeOffice2007Document

[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CustomizeOffice2007Document : BuildTask

NameDescription
System_CAPS_pubmethodCustomizeOffice2007Document()

Initializes a new instance of the CustomizeOffice2007Document class.

NameDescription
System_CAPS_pubpropertyAssemblyName

Gets or sets the name of a customization assembly to attach to a document.

System_CAPS_pubpropertyBuildEngine

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

(Inherited from Task.)

System_CAPS_pubpropertyDeploymentManifestName

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

System_CAPS_pubpropertyDocumentPath

Gets or sets the relative or fully qualified path of the project document.

System_CAPS_pubpropertyHostObject

(Inherited from Task.)

System_CAPS_pubpropertyInstallationPath

Sets the relative or fully qualified path of the installation folder.

System_CAPS_pubpropertyLocal

Gets or sets a value that indicates whether to make all the paths in the application manifest relative to the document location.

System_CAPS_pubpropertyLog

(Inherited from Task.)

System_CAPS_pubpropertySolutionID

Sets the GUID of an Office solution.

System_CAPS_pubpropertyUnregister

Gets or sets a value that indicates whether to remove a customization assembly from a document.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Generates a customized document for a project developed for the 2007 Microsoft Office system.(Overrides Task.Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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 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

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

Return to top
Show:
© 2016 Microsoft