The operator ->in MSBuild is the conversion operator . It converts the list of elements into a new list of elements, substituting the line on the right side, using the metadata of the original elements.
->'^%(Identity)' batching. Identity - , "^". - %, WriteLinesToFile CustomBuildStep.