EmbedTypeLibrary Class (2007 System)
Defines an MSBuild task that extracts a type library from a Visual Studio Tools for Office customization assembly into a DLL to enable interop with Visual Basic for Applications (VBA).
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Set all of the 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.