Generation Bug - Duplicate Source Files in .csproj file

Posts   
 
    
Emmanuel
User
Posts: 167
Joined: 13-Jan-2006
# Posted on: 09-Jan-2007 22:47:23   

I think I may have come across a bug that occurs when once renames entities...

I renamed some of my entities after my project had already been generated at least once. The csproj file for the generic project (I'm using adapters) ended up containing duplicate entries from the source files affected by my entity name changes.

Another clue to tracking this down. The name changes I made to the entities involved ONLY case changes.

Maybe there is a bug related to string comparisons of entity names related to case sensitivity that is causing this. simple_smile

Thanks

(For the sake of users who may doing searches in this forum on the VS2005 error that results when compiling with duplicate entries in the csproj file...

The item was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter.)

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 10-Jan-2007 02:57:43   

Which files specifically contained double entries? i.e. Entity files only or others. Are you using .net 1.1 or .net 2.0 and are you using C# or VB?

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39885
Joined: 17-Aug-2003
# Posted on: 10-Jan-2007 09:31:52   

PLease specify the llblgen pro version you're using (and builddate).

Frans Bouma | Lead developer LLBLGen Pro
Emmanuel
User
Posts: 167
Joined: 13-Jan-2006
# Posted on: 10-Jan-2007 18:08:42   

Oops. Sorry for lack of info wink

.NET 2.0 C# Adapter Default Templates and Tasks LLBLGen 2.0.0.0 Final Dec 6, 2006

I can't recall the files that were duplicated but I know that it included the *EntityRelations.cs files and probably the *Entity.cs files too.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39885
Joined: 17-Aug-2003
# Posted on: 10-Jan-2007 21:51:13   

Whats the value of CleanUpVsNetProjects in the project properties in the designer? Also, be sure you have the latest taskperformers installed. I don't know how you upgrade llblgen pro. If you use the full installer, you have the latest installed.

Frans Bouma | Lead developer LLBLGen Pro
Emmanuel
User
Posts: 167
Joined: 13-Jan-2006
# Posted on: 11-Jan-2007 20:26:52   

CleanUpVsNetProjects is set to False

I looked at the assembly versions of the TaskPerformer dlls and saw:

2.0.0.0

I'm not certain but am pretty sure I updated the task preformers with the Dec 6 build. That datestamp on the dlls is Dec 12 so I think its a good bet.

I have since recreated my llblgen project from scratch and - oops - deleted the one that was giving me the problems so I'm afraid I can't send you anything.

In any case, everything is fine with my new project.