NAnt SDK Documentation - v0.92 |

# ModuleSet Class

One or more modules to compile into an assembly.

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

System.Object
NAnt.Core.Element
NAnt.Core.DataTypeBase
NAnt.DotNet.Types.ModuleSet

[Visual Basic]
<Serializable, _ Serializable, _ ElementName(Name:="moduleset")>
Public Class ModuleSet
Inherits DataTypeBase
[C#]
[Serializable]
[Serializable]
[ElementName(Name="moduleset")]
public class ModuleSet : DataTypeBase

#### 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

Define a global `<moduleset>` that can be referenced by other tasks or types.

          <moduleset id="client-modules" dir="${build}">
              <module file="Client.netmodule" />
              <module file="Common.netmodule" />
          </moduleset>

#### Requirements

Namespace: NAnt.DotNet.Types

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

#### See Also

ModuleSet Members | NAnt.DotNet.Types Namespace