reproducing output

Posts   
 
    
cataclysm
User
Posts: 2
Joined: 09-Oct-2006
# Posted on: 09-Oct-2006 20:01:16   

I'm attempting to reproduce the code generated by a former employee and running into minor differences (and unsure how it might effect my results).

I'm running the same version of LLBLGen they used [1.0.2005.1 Final (November 30th, 2005)]. I open their project, generate the code, and compare my results to theirs and find they're not the same (other than timestamps).

For example, their entries have (5 lines and SubType):

            <File
                RelPath = "DatabaseGeneric\EntityClasses\RodChkEntity.cs"
                SubType = "Code"
                BuildAction = "Compile"
            />

While mine has (1 line w/o SubType):

    <File RelPath="DatabaseGeneric\EntityClasses\RodChkEntity.cs" BuildAction="Compile" />

Theirs does not list xml version/encoding while mine has the following:

    <?xml version="1.0" encoding="utf-8"?>

Any leads would be appreciated.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 10-Oct-2006 12:13:22   

cataclysm wrote:

I'm attempting to reproduce the code generated by a former employee and running into minor differences (and unsure how it might effect my results).

I'm running the same version of LLBLGen they used [1.0.2005.1 Final (November 30th, 2005)]. I open their project, generate the code, and compare my results to theirs and find they're not the same (other than timestamps).

Could you please download the latest 1.0.2005.1 installer and use that one instead? You can do that by logging into the customer area -> click on the v1.0.2005.1 menu item at the left and then download the full installer.

The november 30th release is rather old. simple_smile

For example, their entries have (5 lines and SubType):

            <File
                RelPath = "DatabaseGeneric\EntityClasses\RodChkEntity.cs"
                SubType = "Code"
                BuildAction = "Compile"
            />

While mine has (1 line w/o SubType):

    <File RelPath="DatabaseGeneric\EntityClasses\RodChkEntity.cs" BuildAction="Compile" />

Theirs does not list xml version/encoding while mine has the following:

    <?xml version="1.0" encoding="utf-8"?>

Any leads would be appreciated.

When you open a project in vs.net and then save it again, vs.net will re-generate the csproj file. This will then add whitespace here and there, perhaps add some attributes that aren't there etc.

The project file generator/modify task performer of llblgen pro was updated after November 30th, so I'd recommend to use the latest version so you're up to date.

However the things you see aren't something you should worry about. Load the project in vs.net, and save it again, you'll see the project file has been changed in formatting.

Frans Bouma | Lead developer LLBLGen Pro
cataclysm
User
Posts: 2
Joined: 09-Oct-2006
# Posted on: 10-Oct-2006 20:19:00   

Updated the installer, did another gen .. this added a few more changes.

Opened and saved in vs.net .. this did not eliminate the original differences.

I guess I'll follow your advise and assume they don't effect anything. I was hoping to prove I could reproduce their results before starting, but I guess knowing that it's just these few items is a good starting point.

Thanks!