NAnt SDK Documentation - v0.92 |

# LibTask Class

Run `lib.exe`, Microsoft's Library Manager.

For a list of all members of this type, see LibTask Members.

System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.VisualCpp.Tasks.LibTask

[Visual Basic]
<TaskName(Name:="lib")>
Public Class LibTask
Inherits ExternalProgramBase
[C#]
[TaskName(Name="lib")]
public class LibTask : ExternalProgramBase

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Example

Create a library.

    <lib output="library.lib">
        <sources>
            <include name="library.obj" />
        </sources>
    </lib>

#### Requirements

Namespace: NAnt.VisualCpp.Tasks

Assembly: NAnt.VisualCppTasks (in NAnt.VisualCppTasks.dll)

#### See Also

LibTask Members | NAnt.VisualCpp.Tasks Namespace