refreshed catalog, the generated project now has errors

Posts   
 
    
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 14-Apr-2007 12:24:38   

version 1.0.2005.1 final (self-servicing) VS2005 asp.net 2.0


hiya, I had a working c# project that was built via llblGenPro.

OK, I refreshed the catalog, regenerated the project, and saw the changes were reflected in the generated C# code.

Within vs2005, I try to build the generated c# project.I get loads of errors. It seems to be “remembering” the “original” names of the entities.

All I want is to: 1) keep the same llblGenPro project 2) keep the same generated project within my vs2005 solution, only overwriting it when I make changes to the llblGenPro project and re-generate.

Why are there errors when I try to build the project that was built with llblGenPro?

Please note, I am NOT talking about MY client project (of course that will not work until I change the code to reflect the changes in the generated project)

can anyon help, I'm in a bit of a hurry!

thanks,

yogi

Posts: 254
Joined: 16-Nov-2006
# Posted on: 14-Apr-2007 22:01:18   

Hi Yogi,

If you've renamed entities to different names other than the defaults provided on an initial refresh, LLBLGen certainly shouldn't rename them back on subsequent refreshes.

There are a variety of project options which can effect how changes are managed e.g. SyncMappedElementNamesAfterRefresh.

Please review the section "Designer - Refreshing the catalog schemas" - If you haven't already done so. If your still having issues please can you attach the project file so I can review further.

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 15-Apr-2007 12:47:26   

cheers Matt,

I had a look and I "think" that it might have been something to do with the template being set ti sqlServer CE, though I could be wrong.I was getting tired of messing about regenrating etc, so I just deleted the whole C# project, removed the references, then re-genned etc.It seems to work now.

The only strange thing now is that the TypedList are unvailable in intellisense.I'm not sure why.If anyone knows could they give me a shout?

thanks,

yogi

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 15-Apr-2007 20:57:55   

The only strange thing now is that the TypedList are unvailable in intellisense.I'm not sure why.If anyone knows could they give me a shout?

They only are unavailable in intellisense but the project compile? Could you try to clean/rebuild the projects.

David Elizondo | LLBLGen Support Team