GenerateOfficeDocumentInstallationPath Class

GenerateOfficeDocumentInstallationPath Class

 

Defines an MSBuild task that returns a path to the installation folder to be written into a customized document. 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.GenerateOfficeDocumentInstallationPath

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

NameDescription
System_CAPS_pubmethodGenerateOfficeDocumentInstallationPath()

Initializes a new instance of the GenerateOfficeDocumentInstallationPath class.

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

(Inherited from Task.)

System_CAPS_pubpropertyInstallationPath

Gets the relative or fully qualified path of the installation folder to be written into a customized document.

System_CAPS_pubpropertyInstallUrl

Sets the installation path where the customized document is copied for installation.

System_CAPS_pubpropertyLog

(Inherited from Task.)

System_CAPS_pubpropertyPublishUrl

Sets the publish path where the customized document is copied for publishing.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Creates the output folder and, if applicable, the installation folder, where the customized document is published. (Overrides Task.Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The document must be part of an Office development project for a 2007 Microsoft Office system application.

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

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