Parse CSProj file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    Parse CSProj file

    Hi

    I am trying to parse the CSProj file

    the header has xmlns="http://schemas.microso ft.com/developer/msbuild/2003">
    which I think forces it to a dataset when I read it in as a xmldocument

    The section below ends up being a Table "EmbeddedResour ce" and I get an
    ItemArray of the values but they seem positional to how it is built

    1)Is there anyway to get a ColumnName instead of an index # into ItemArray
    2)Can I use xPath - I tried to get to the node but that doesn't seen to work

    Any insight would be appreciated

    <EmbeddedResour ce Include="String Resources.resx" >
    <SubType>Design er</SubType>
    <Generator>ResX FileCodeGenerat or</Generator>
    <LastGenOutput> StringResources .Designer.cs</LastGenOutput>
    </EmbeddedResourc e>


Working...