Currently replacements are implemented using MSBuild metadata on item lists. The replacement key is the name of the metadata element.
The problem with this is that metadata names are limited and may exclude certain replacements.
Instead of this the replace task should just take and xml file of the replacements and read that. For now we can just pass in the templateinfo.xml file, but we should ideally not send the entire file to the task. If we could send just the Replacements element that would be good, but not worth the effort now.
Currently replacements are implemented using MSBuild metadata on item lists. The replacement key is the name of the metadata element.
The problem with this is that metadata names are limited and may exclude certain replacements.
Instead of this the replace task should just take and xml file of the replacements and read that. For now we can just pass in the
templateinfo.xml
file, but we should ideally not send the entire file to the task. If we could send just the Replacements element that would be good, but not worth the effort now.