Getting error when generating EditableRoot with Codesmith templates

Getting error when generating EditableRoot with Codesmith templates

Old forum URL: forums.lhotka.net/forums/t/5955.aspx


jnapoli posted on Monday, December 08, 2008

I am getting this when generating the  EditableRoot.cst  

LoadProperty<bool, bool?>(FromEnableSketchProperty, data.FromEnableSketch);
           
on above line. 
Error    4   
The non-generic method 'Csla.Core.BusinessBase.LoadProperty(Csla.Core.IPropertyInfo, object)'
cannot be used with type arguments    C:\Projects\AssessPro.NET\CslaSample\ConsoleApplication1\ConsoleApplication1\Csla3.cs    368   
5    ConsoleApplication1

  Code was generated at 12/8/2008 8:10:11 PM by jnapoli
//     Template path: C:\Documents and Settings\jnapoli\My Documents\CSLA.net\CSLAcontrib-41428\CodeGenTemplates\CodeSmith\CSLA35\CSharp\EditableRoot.cst
//     Template website: http://www.codeplex.com/Wiki/View.aspx?ProjectName=CSLAcontrib

bniemyjski replied on Wednesday, January 21, 2009

Hello,

I would log this as a bug on the CSLA codeplex website as it is a community driven template.

Thanks
-Blake Niemyjski

Copyright (c) Marimer LLC