johnh wrote:
Do you have any advice on how to incorporate LLBLGen(erated) code into source control for team use. Should we just use the same techniques as we use for normal code?
It really depends. One of my testprojects was changed so often (3-10 times a day), sourcesafe went bezerk of all the changes it had to log. This can really increase your sourcecontrol database a lot. Because it is generated code, it really doesn't matter if the source files get removed, you re-generate them again and you'll be fine. I'd store the .lgp files somewhere safe, perhaps in sourcecontrol to be sure you have a backup copy somewhere (and make backups of course, daily).
When you do not have a lot of changes (say once a week) in your generated code, or when you are using the two-class scenario and you're adding code to the generated files, it is recommended you place the complete sourcetree of the generated code in sourcecontrol and handle it like any other project.
A third option would be that you keep a separate solution with the generated code, compile that and reference the build result from that solution from your actual project. That will keep your other projects a little smaller.