Is there a way to tell a project file that all of the <propertyset> sections are supposed to go into a single output file? If I use the same output file name, only the last propertyset end up in the output file.
Another thing lost in the conversion from the codesmithgenerator .xml format to the new .csp project format, is the ability to specify a namespave that wraps the output file. Is there a way to get a namespace included using the new Project file format?
I want to create a single project file full of tracemessage. Each propertyset defined one trace message, with properties like "method name", "message", category, levle, title, etc. When the file renders using the template "logmessages.cst", the resulting logmessages.cs should have a bunch of "using" statements, a namespace declaration, a "partial class" declaration, then repeted methods that each return a "public static LogEntry ". The new project file format fails me because:
1) each property set returns it's own output file
2) I can't get the "using" or namespace, or class declarations to appear just once in the output, with the individual propertysets repeating inside the class declaration to form the individual methods of the class.
Any suggestions?
TIA!