Won't build

Posts   
 
    
TimR
User
Posts: 1
Joined: 12-Nov-2009
# Posted on: 12-Nov-2009 10:59:34   

I generated based on a simple SQL database to create a .NET 3.5 project for VS2008.

The code generated won't compile. The references are correct but it simply has loads of errors...194!

Code is attached - any idea?

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 12-Nov-2009 11:57:07   

That's becuase you have an entity called "Entity" and that's a reserved word in LLBLGen Pro simple_smile

So just rename it in the designer.

(Edit)

Also, you might need to delete all previously generated code, and re-generate the code to an empty folder.