ligershark / template-builder

This project will output a NuGet package which can be used to help create Visual Studio Item Templates and Project templates
Other
42 stars 28 forks source link

Update replacement implementation #13

Closed sayedihashimi closed 10 years ago

sayedihashimi commented 10 years ago

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.