CodeSmith 编译没有问题,执行时候有问题,问题报错如下
An error of type "ArgumentException" occured while attempting to execute this template. To enable Just-In-Time debugging on this template set the "Debug" attribute to "True" in the "CodeTemplate" directive and add a "Debugger.Break()" statement in the template.
[解决办法]
应该是自定义参数的问题, 代码贴上来呗~