NAnt SDK Documentation - v0.92 |

# ProjectSettings.GetOutputType Method

Determines the output type of the project from its XML definition.

[Visual Basic]
Overridable Protected Function GetOutputType( _
ByVal settingsXml As XmlElement _
) As ManagedOutputType
[C#]
protected virtual ManagedOutputType GetOutputType(
XmlElement settingsXml
);

#### Parameters

settingsXml
  The XML definition of the project settings.

#### Return Value

The output type of the project.

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | The output type of the project is not set in the specified XML definition. -or- The output type of the project is not supported.

#### See Also

ProjectSettings Class | NAnt.VSNet Namespace