I have Condtional Compilation Symbols in a C# project defined as "ABC;XYZ", and I can use the following in the project XML file for conditional include of project code files during MSBuild:
<Compile Include="SomeFile.cs" Condition="$(DefineConstants)'=='ABC;XYZ'"/>
But I need something like the following which does NOT work:
<Compile Include="SomeFile.cs" Condition="$(DefineConstants)'=='ABC'"/>
Is it possible to use just one of the defineconstants for condition test?