When I generate wihtin CodeSmith Studio, I have no problems.
All my CodeSmith Projects files generate fine.
When I generate from within Visual Studio, or within Windows Explorer, some of them raise an error during generation :
Generating project "Z:\Development .Net\Next Release\2. Modules\Financial Studio Maestro\Maestro.Business\Code Generation\RuntimeParameterInfoRList.csp" outputs...
Compiling template "C:\CodeSmith\Templates\Finarch Templates 2.0.0\CS\Csla20\ReadOnlyRootList.cst"...
Template compilation succeeded. (245 ms)
Rendering output 1...
ERROR: Z:\Development .Net\Next Release\2. Modules\Financial Studio Maestro\Maestro.Business\Code Generation\RuntimeParameterInfoRList.csp(0,0) Output 1: Exception has been thrown by the target of an invocation. Object reference not set to an instance of an object.
Unable to render output 1, skipping...
Done rendering outputs: 0 succeeded, 1 failed (1331ms).
Any advice is wellcome.
Thx