Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

DataClassName is not defined. #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Generate project using QuickStart.
2.Open project and build it.

What is the expected output? What do you see instead?
During build, Entity.cst throw the following error: DataClassName is not
defined.

What version of the product are you using?
r718

Please provide any additional information below.
In effect this property will not copy to EntityCodeTemplate because 
EntitiesCodeTemplate does not have this property. So CopyProperties from
Quickstartcodetemplate to EntitiesCodeTemplate lose all properties 

Original issue reported on code.google.com by caste1...@hotmail.it on 28 May 2009 at 12:56

GoogleCodeExporter commented 9 years ago
How are you able to reproduce this? I have never come across this. What version 
of
CodeSmith are you using?

Thanks
-Blake

Original comment by bniemyjski on 28 May 2009 at 1:53

GoogleCodeExporter commented 9 years ago
Hi Blake, my version of Codesmith is 5.0.1.4983.
During debug of Entity.cst, I note  "DataClassName" properties was null.
This poperty was lost during CopyProperties from one template to another.   
So to resolve problem, I copy the "Data Project" properties  in 
EntitiesCodeTemplate,
and the projects was build successfully.
How can I help you, for reproduce the problem?
Thanks 
Caste  

Original comment by caste1...@hotmail.it on 28 May 2009 at 2:49

GoogleCodeExporter commented 9 years ago
Can you install CodeSmith 5.1.1 and reset your templates
(http://windowscoding.com/blogs/blake/archive/2008/04/30/tips-amp-tricks-resetti
ng-the-codesmith-sample-templates.aspx)

Thanks
-Blake

Original comment by bniemyjski on 28 May 2009 at 3:13

GoogleCodeExporter commented 9 years ago
I only reset my template and now generation works fine.
Thanks
Caste

Original comment by caste1...@hotmail.it on 28 May 2009 at 8:13

GoogleCodeExporter commented 9 years ago
Thanks for the update.

Original comment by bniemyjski on 29 May 2009 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 21 Jun 2010 at 8:10