I am trying to extract all conditional compilation constsants from a given project file. The file has several
elements like this:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
My first attempts at Linq to Sql all gave me all nodes, or none. What queries can I run to:
(a) get all
elements, but include their parent element in the query, because I need the
(b) get all
elements that have
children and include this children.
I am trying to build a dictionary of conditional compilation constants, so next time you come across a constant like
, you can just pop open my dictionary window and read, or hopefully, write what it does for others.