CSLA .NET

From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books

Welcome to CSLA .NET Sign in | Join | Help
in Search

Getting error when generating EditableRoot with Codesmith templates

Last post 01-21-2009, 5:00 PM by bniemyjski. 1 replies.
Sort Posts: Previous Next
  •  12-08-2008, 7:27 PM 28987

    Getting error when generating EditableRoot with Codesmith templates

    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

  •  01-21-2009, 5:00 PM 30161 in reply to 28987

    Re: Getting error when generating EditableRoot with Codesmith templates

    Hello,

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

    Thanks
    -Blake Niemyjski
View as RSS news feed in XML

Please contact Magenic for your .NET consulting
and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Powered by Community Server, by Telligent Systems