Hi,
I'm trying to read the value of the OutputType node in the Visual Studio .csproj file below:
Library
I would expect the XPath //Project/PropertyGroup/OutputType would give me the value but Finalbuilder can not find the node. After trying different workarounds, I realized that if I replace xmlns= with xmlns:x= in the first line, the XPath is correct and the value is returned.
I don't know enough about XML namespace definitions or the XPath definitions to tell if this is a bug or expected behaviour, but it seems strange. I would expect that Visual Studio project files contains well-formed XML.
Regards,
Rasmus Aaen