Ian wrote:
..is the frequency of having the generated code not compile first time round.
Surely it shouldn't let you generate code that's not going to compile?
I've got many many mesages saying stuff like..
'VideoTracking.FactoryClasses.EventEntityFactory' does not implement interface member 'SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactory2.CreateEntityFromEntityTypeValue(int)'
Now what I usually do is just keep fiddling with the tasks and deleting everything that's already there until it works.
1) always make sure you examine the generation REPORT that's shown to you after code generation. If files weren't overwritten, you can see it in that report.
2) we use an automated set of code generation tasks to check whether code compiles or not. We generate for all presets for both languages for all platforms for all databases code using a variety of projects,including inheritance etc. and if something breaks, we'd know and fix it up front.
3) the error you post above is typically caused by the fact that the generated code references an ormsupportclasses dll of a previous version. Normally this shouldn't happen though, as our unittest projects use generated dals as well and we never have this problem. If you have 2 different versions of llblgen pro installed, it might be vs.net picks the wrong version, but you have to correct that manually once. Next time you generate code on top of that project, the references are kept.
I get the feeling you generate in an empty folder each time, correct?