LPT generator incorrectly converts 0D0A

Posts   
 
    
MatthewM
User
Posts: 78
Joined: 26-Jul-2006
# Posted on: 27-Sep-2006 21:05:21   

I have a template that generates SQL (triggers). The resulting files are .sql - I have verified that my template only has 0D0A. The compiled template shows \n. the resulting .sql files have 0A0A which makes management studio throw a gazillion syntax errors even though it displays correct.

I did a find replace 0A0A -> 0D0A and that sql executes, but i don't want to do that every time.

Thanks.

v2.0 8/14?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 27-Sep-2006 21:38:38   

You use the latest taskperformers, as there was a fix recently which now correctly emits \r\n's instead of simply \n's for linebreaks.

Frans Bouma | Lead developer LLBLGen Pro
MatthewM
User
Posts: 78
Joined: 26-Jul-2006
# Posted on: 27-Sep-2006 22:12:19   

Cool