No Code Generated for some files

Posts   
 
    
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 19-May-2006 09:46:04   

Hi,

I am newbie with LLBLGen. I have some project running for LLBLGen. I have made some changes to the project by adding few tables. But unfortuenately i m getting following messages when i generate the new code for number of files..

CodeEmitter::No code generated code for entity 'XXXX' because file 'XXXX.cs could not be overwritten.

when i include the project to my solution then i end up facing loads of errors which says missing references and definition of such classes...

i am really confused , am i missing anything??

will be waiting for your favorable response for the same Regs Ammit simple_smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 19-May-2006 10:34:49   

Check if the files which couldn't be overwritten are readonly. If so, it's likely they weren't checked out of VSS or teamsystem. Make the writable and re-generate.

Frans Bouma | Lead developer LLBLGen Pro
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 19-May-2006 11:28:27   

Otis wrote:

Check if the files which couldn't be overwritten are readonly. If so, it's likely they weren't checked out of VSS or teamsystem. Make the writable and re-generate.

Hey thax for your quick reply... i have already checked those things before posting such issue.. i m using CVS but the files generated outof LLBLGen is overwritting my existing file.. and believe me i have taken enough care to check those files are not write protected for sure.

and i am getting such messages in the log for only few files .. rest of the files are getting generated properly..

do you have anyidea why such things are happening?

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 19-May-2006 15:20:27   

I have to ask this kind of question: Do you have any running application that's using those files? Try to close everything, including the VS.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 19-May-2006 21:17:24   

Ah I think I know what they are: are they validator classes by any chance? If so, that's by design, these aren't overwritten if they exist. Could you give a name of the class so we know which type of classes we're talking about? simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 23-May-2006 09:37:08   

hey otis,

you got me.. i was faqcing some issues and went through the log file where i found such verification classes not getting overwritten..so i doubted them for breaking my app.

Otis wrote:

Ah I think I know what they are: are they validator classes by any chance? If so, that's by design, these aren't overwritten if they exist. Could you give a name of the class so we know which type of classes we're talking about? simple_smile

disappointed

i think the things are working fine now... proviously i was getting the collection classses not updated and assembly mismatch errors..

now the things are running fine after recreating the whole LLBLGen Project...i dont have no idea what went wrong for the first time though..

thanx for your quick reply otis..i think this forum is great enough to help guys like me who runs in to issues here and there...smile

Regards, Ammit