ProjectSettings.

GetProjectGuid(string, XmlElement) Method

Summary

Gets the project GUID from the given System.Xml.XmlElement holding a <VisualStudioProject> node.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Containing Type
ProjectSettings

Syntax

public static string GetProjectGuid(string projectFile, XmlElement elemRoot)

Parameters

Name Type Description
projectFile string The path of the project file.
elemRoot XmlElement The <VisualStudioProject> node from which the project GUID should be retrieved.

Return Value

Type Description
string The project GUID from specified <VisualStudioProject> node.