If you know the namespaces that is in the xml document you can use XmlNamespaceManager;
-
Dim xmlDoc As New XmlDocument()
-
xmlDoc.Load(Path.Combine(mDirectory, name + "\" + name + ".vbproj")) '"
-
-
Dim nsmgr As New XmlNamespaceManager(xmlDoc.NameTable)
-
nsmgr.AddNamespace("msb", "http://schemas.microsoft.com/developer/msbuild/2003")
-
-
Dim xpath As String = "/msb:Project/msb:PropertyGroup/msb:ProjectGuid"
-
Dim value As Object = xmlDoc.SelectNodes(xpath, nsmgr)
else you can use the general XPath syntax
//*[local-name() = 'ProjectGuid']