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)
Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class GenerateOfficeDocumentInstallationPath _
Inherits BuildTask
Dim instance As GenerateOfficeDocumentInstallationPath
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class GenerateOfficeDocumentInstallationPath : BuildTask
The document must be part of a Visual Studio Tools for Office 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 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..::.GenerateOfficeDocumentInstallationPath
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Reference