CSharpProject.

IsSupported(XmlElement) Method

Summary

Returns a value indicating whether the project represented by the specified XML fragment is supported by NAnt.VSNet.CSharpProject.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Containing Type
CSharpProject

Syntax

public static bool IsSupported(XmlElement docElement)

Remarks

A project is identified as as C# project, if the XML fragment at least has the following information:

  <VisualStudioProject>
    <CSHARP
        ProductVersion="..."
        ....
    >
        ...
    </CSHARP>
</VisualStudioProject>

Parameters

Name Type Description
docElement XmlElement XML fragment representing the project to check.

Return Value

Type Description
bool true if NAnt.VSNet.CSharpProject supports the specified project; otherwise, false.