Using CodeSmith.CustomProperties
CodeSmith ships with a sample project, CodeSmith.CustomProperties, that includes some useful property types for your templates:
- FileNameEditor can be used to let the user select a filename as the value for a property
- StringCollection can be used to let the user enter a collection of strings as the value for a property
You can find this project in the SampleProjects/CustomProperties folder.