I have a post post conditional that looks like this:
if $(ConfigurationName)==Release ( echo Update $(TargetName) to be non conflicting "$(SolutionDir)ILMerge\RummageTypeRenamer.exe" -f XamlGeneratedNamespace.GeneratedInternalTypeHelper -t XamlGeneratedNamespace.GeneratedInternalTypeHelper$(TargetName) $(TargetName).dll del $(TargetName).dll ren $(TargetName).Runmage.dll $(TargetName).dll )
This is normal if I remove the condition and the parence. But if I run it as is, I get an error:
Command syntax is invalid.
Then the whole instruction is output, and the conditional expression looks good:
if Release == Release
Why is Visual Studio not my conditional?
visual-studio visual-studio-2012 batch-file post-build-event
Vaccano
source share