Partager via


GenerateOfficeDocumentInstallationPath Class

Definition

Defines an MSBuild task that returns a path to the installation folder to be written into a customized document. This class cannot be inherited.

public ref class GenerateOfficeDocumentInstallationPath sealed : Microsoft::VisualStudio::Tools::Office::BuildTasks::BuildTask
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class GenerateOfficeDocumentInstallationPath : Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
[<System.Runtime.InteropServices.ComVisible(false)>]
type GenerateOfficeDocumentInstallationPath = class
    inherit BuildTask
Public NotInheritable Class GenerateOfficeDocumentInstallationPath
Inherits BuildTask
Inheritance
GenerateOfficeDocumentInstallationPath
Attributes

Remarks

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.

Constructors

GenerateOfficeDocumentInstallationPath()

Initializes a new instance of the GenerateOfficeDocumentInstallationPath class.

Properties

InstallationPath

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

InstallUrl

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

PublishUrl

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

Methods

Execute()

Creates the output folder and, if applicable, the installation folder, where the customized document is published.

Applies to