Udostępnij za pośrednictwem


GenerateOfficeAddInManifest Class (2007 System)

Defines an MSBuild task that generates the Visual Studio Tools for Office section of an application manifest that describes an add-in. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class GenerateOfficeAddInManifest _
    Inherits BuildTask
'Usage
Dim instance As GenerateOfficeAddInManifest
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class GenerateOfficeAddInManifest : BuildTask
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class GenerateOfficeAddInManifest sealed : public BuildTask
public final class GenerateOfficeAddInManifest extends BuildTask

Remarks

Set all the GenerateOfficeAddInManifest 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.

Inheritance Hierarchy

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

Thread Safety

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

See Also

Reference

GenerateOfficeAddInManifest Members

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace