i have 488 entities & it takes about more than a minute to build the project with one line code

Posts   
 
    
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 01-Apr-2008 00:47:24   

i have 488 entities & it takes about more than a minute to build the project with one line code added in a return method. is this a standard behavior observation & should I split this project to small projects? I have added 2 partial classes to the generated entities in a different folder within the same project. I added a property with a simple ToString return on its own property.

It takes a minute to build. Currently i just have the dbgeneric project but still it will not compile faster. There are no dependency added to it. Just the compiled objects. I have the the validators also being generated by the generator.

The 2.5 final & vs 2008 is used.

any suggestions where i might be making mistake or clue on the issue

thanks vairam

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Apr-2008 05:40:17   
David Elizondo | LLBLGen Support Team
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 01-Apr-2008 19:31:10   

my environment is VS 2008, Gen Pro 2.5 Latest. I have installed Infragistics WPF. I have a separate solution for the generated code i.e. DbGeneric.

I am trying to add a property to one of the entity class when I see the performance. My command line msbuild also gave me the same performance.

However, I will try to split the validator, typed views into a separate project & will see the impact of it. thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 01-Apr-2008 20:59:30   

The main bottleneck is vs.net. Compile on the command line (so not inside vs.net), it's much faster. If possible, you could use csc.exe directly. It's faster than msbuild (don't know why).

Frans Bouma | Lead developer LLBLGen Pro