This project has moved. For the latest updates, please go here.

New version error

Jun 3, 2011 at 9:30 PM

Hi

Is this the place to log issues?  I get this issue when trying to create object (ER) using simple DAL.  Without DAL it works okay.

Borrower:
An error occurred while generating object:
Template C:\Program Files\CslaGeneratorFork\Templates-2011-05-19\CSLA40DAL\CSharp\EditableRoot.cst failed to compile. Objects of the same type will be ignored.
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(424,27) : error CS1502: The best overloaded method match for 'CslaGenerator.CodeGen.CslaTemplateHelperCS.CslaStereotype(CslaGenerator.Metadata.CslaObjectInfo)' has some invalid arguments
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(424,42) : error CS1503: Argument '1': cannot convert from 'CslaGenerator.Metadata.CslaObjectType' to 'CslaGenerator.Metadata.CslaObjectInfo'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(462,94) : error CS1502: The best overloaded method match for 'CslaGenerator.CodeGen.CslaTemplateHelperCS.CslaStereotype(CslaGenerator.Metadata.CslaObjectInfo)' has some invalid arguments
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(462,109) : error CS1503: Argument '1': cannot convert from 'CslaGenerator.Metadata.CslaObjectType' to 'CslaGenerator.Metadata.CslaObjectInfo'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(720,24) : error CS1501: No overload for method 'PropertyInfoDeclare' takes '2' arguments
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(864,24) : error CS1501: No overload for method 'PropertyInfoChildDeclare' takes '2' arguments
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(918,27) : error CS1502: The best overloaded method match for 'CslaGenerator.CodeGen.CslaTemplateHelperCS.PropertyDeclare(CslaGenerator.Metadata.CslaObjectInfo, CslaGenerator.Metadata.ValueProperty)' has some invalid arguments
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(918,49) : error CS1503: Argument '2': cannot convert from 'CslaGenerator.Metadata.ChildProperty' to 'CslaGenerator.Metadata.ValueProperty'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(1166,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(1187,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(1205,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(1524,47) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2086,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2099,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2111,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2231,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2277,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2289,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(2300,108) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(3059,34) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(3328,34) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'
c:\Users\richard\AppData\Local\Temp\zerumt9u.0.cs(3862,46) : error CS0117: 'CslaGenerator.Metadata.GenerationParameters' does not contain a definition for 'UseChildDataPortal'


Stack Trace:
   at CslaGenerator.CodeGen.AdvancedGenerator.GetTemplate(CslaObjectInfo objInfo, String templatePath)
   at CslaGenerator.CodeGen.AdvancedGenerator.GenerateObject(CslaObjectInfo objInfo, CslaGeneratorUnit unit)
 File: C:\Program Files\CslaGeneratorFork\test\sprocs\Borrower.sql

Done
Database classe: already exists.
DataPortalHookArgs classe: already exists.

Classes: 1 generated. 1 failed.

Thanks

 

Richard

 

Coordinator
Jun 3, 2011 at 11:10 PM

Hi,

Due to lack of space (number of characters allowed) the CTP 3 release notes is missing the following:

Note - Target CSLA40DAL is a work in progress but is far from ready. It and may even crash.

Work item #472 reflects the fact that this is a WIP.