yasser777 / nettiers

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

ColumnClassNameFormat not reflected in Unit tests #197

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change value in ColumnClassNameFormat from Column to something else
(i.e. Field)
2. Generate output
3. Compile solution

What is the expected output? What do you see instead?
I expect a clean compile but receive errors

Error   1   The name 'EmailTemplateColumn' does not exist in the current
context EmailTemplateTest.generated.cs  334 24  

I changed the value from Column to Field but it does not seem be reflected
in the Tests project

What version of .netTiers and CodeSmith are you using?
2.3 - .net Tiers
5.01 - CodeSmith

Please provide any additional information below.

I can temporarily remove the Tests project to get the solution to compile
but I will need to run the tests before moving to PROD

Original issue reported on code.google.com by j...@kararo.com on 16 Apr 2009 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 25 May 2009 at 3:30

GoogleCodeExporter commented 9 years ago
Are you modifying the Database table or the mapping file?

Original comment by bniemyjski on 25 May 2009 at 4:29

GoogleCodeExporter commented 9 years ago
I have not changed either.  I have changed the ColumnClassNameFormat property 
for the
template using Codesmith.

Original comment by j...@kararo.com on 25 May 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Hello,

Delete your mapping file (mapping.xml at root of gen folder) and regenerate. 
Let me
know if this fixes the issue.

Thanks
-Blake

Original comment by bniemyjski on 25 May 2009 at 9:37