NET project in which I need to add contents in the resource file (which is an xml file) based on certain compilation symbols.
something like the following:
<xml ....>
<myNodes>
#if SOMECONDITION
<node1>
...
</node1>
#else
<node2>
...
</node2>
#endif
</myNodes>
Is this even possible to do? I know this doesn't follow the XML rules. Is there similar method to use Conditional Compilation and yet to adhere to XML rules?