Using MSBuild Conditional Constructs to run one or other target

added by DotNetKicks
3/13/2017 1:16:42 PM

1 Kicks, 265 Views

I was doing modification of MSBuild target to have different behavior depending on parameter OutDir was specified or not for Msbuild. Follow to MSDN "MSBuild Conditional Constructs" I selected Choose Element and tried to put it inside element ... It didn't work as for Choose Element allowed Parents are only Project, Otherwise,...