StoreTimeLastGeneratedIntoProject not respected?

Posts   
 
    
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 30-Sep-2013 13:54:09   

I have this property set <Property Name="StoreTimeLastGeneratedIntoProject" Value="false" /> but I still get generation date inserted into sources. Is there any other setting that affects this behaviour?

Designer is v4.0 final April 9th, 2013

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 30-Sep-2013 20:44:55   

Should be the only setting, could you please use the latest release of the Designer? Reproduced.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Oct-2013 01:34:11   

mihies wrote:

I have this property set <Property Name="StoreTimeLastGeneratedIntoProject" Value="false" /> but I still get generation date inserted into sources. Is there any other setting that affects this behaviour?

Designer is v4.0 final April 9th, 2013

Actually there are two settings:

Store time last generated into project:

Store time last generated into project When set to true (default: false), the time the last generation cycle for a project took place is stored inside the project. This will make the project 'changed' after every generation cycle, which could influence sourcecontrol behavior if you store the .llblgenproj file in a sourcecontrol system. A new project will inherit this value

and TdlEmitTimeDateInOutputFiles (LLBLGen Runtime Framework specific):

TdlEmitTimeDateInOutputFiles. When set to true, the TDL code emitter will emit the time and date for the <[Time]> statement for the LLBLGen Pro Runtime Framework, otherwise nothing will be emitted for that statement. Set to false if you need files to stay the same if they're not effectively changed, for example for source control systems. Default value: true.

The first one just modify the .llblgenproj every time you generate code. The second one emits the generated date into the header comments on every generated file. Is everything ok with that?

David Elizondo | LLBLGen Support Team
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 01-Oct-2013 08:52:47   

Indeed that's the other property and it does the trick - I keep forgetting its name.

Thanks both.