NAnt SDK Documentation - v0.92

ProjectSettings.GetProjectGuid Method 

Gets the project GUID from the given XmlElement holding a <VisualStudioProject> node.

[Visual Basic]
Public Shared Function GetProjectGuid( _
   ByVal projectFile As String, _
   ByVal elemRoot As XmlElement _
) As String
[C#]
public static string GetProjectGuid(
   string projectFile,
   XmlElement elemRoot
);

Parameters

projectFile
The path of the project file.
elemRoot
The <VisualStudioProject> node from which the project GUID should be retrieved.

Return Value

The project GUID from specified <VisualStudioProject> node.

See Also

ProjectSettings Class | NAnt.VSNet Namespace