SetOffice2007AddInRegistration Class
Visual Studio 2012
Defines an MSBuild task that creates or removes registry keys that are needed to run or uninstall an add-in for the 2007 Microsoft Office system. This class cannot be inherited.
Namespace:
Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
The SetOffice2007AddInRegistration type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SetOffice2007AddInRegistration | Initializes a new instance of the SetOffice2007AddInRegistration class. |
| Name | Description | |
|---|---|---|
![]() | AddInName | Gets or sets the name of the add-in being registered. |
![]() | 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 description of the add-in being registered. |
![]() | FriendlyName | Gets or sets the alternate name of the add-in being registered. |
![]() | HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) |
![]() | IsDocument | Infrastructure. |
![]() | LoadBehavior | Gets or sets the load behavior of the add-in being registered. |
![]() | Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) |
![]() | OfficeApplication | Gets or sets the Microsoft Office application for which the add-in is being registered. |
![]() | SolutionID | Infrastructure. |
![]() | Unregister | Gets or sets a value that indicates whether to unregister the add-in. |
![]() | Url | Gets or sets the URL of the add-in being registered. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Execute | Creates or removes registry keys that are needed to run or uninstall an add-in for the 2007 Microsoft Office system. (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.) |
Set all of the SetOffice2007AddInRegistration properties, and then call Execute to run this build 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.
