GenerateOfficeAddInManifest Class
Defines an MSBuild task that generates the section of an application manifest that describes an Office add-in. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
Microsoft.VisualStudio.Tools.Office.BuildTasks.GenerateOfficeAddInManifest
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
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class GenerateOfficeAddInManifest : BuildTask
The GenerateOfficeAddInManifest type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GenerateOfficeAddInManifest | Initializes a new instance of the GenerateOfficeAddInManifest class. |
Top
Properties
Name | Description | |
---|---|---|
BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) | |
BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) | |
BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) | |
BuildEngine4 | Gets the instance of the IBuildEngine4 object used by the task. (Inherited from Task.) | |
Description | Gets or sets the project description. | |
FormRegionNamesAndMessageClasses | Gets or sets information about the form regions in the customization assembly. | |
FriendlyName | Gets or sets the alternative name of the project. | |
HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) | |
KeyName | Gets or sets the name of the registry key, which is the default add-in name. | |
LoadBehavior | Gets or sets the load behavior. | |
Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) | |
OfficeApplication | Gets or sets the name of the Microsoft Office application that is running the current add-in. | |
OutputManifest | Gets the section of an application manifest that describes an Office add-in. | |
RibbonTypes | Infrastructure. | |
TargetFramework | Infrastructure. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute | Generates the section of an application manifest that describes an Office add-in. (Overrides Task.Execute().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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 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.
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.