To generate source code, you first have to make sure your project is valid and relational model data has been adjusted based on the project. To do this, use the Project Validation functionality. The designer will also, prior to generating code, validate the project.
To start the code generation process, press F7 or select Project -> Generate source-code from the main menu. This will open the Code Generation Configurator which consists of one tab (simple, default view) or three tabs (advanced view) to help you set up the code generation process. By default the General Settings Tab is visible, which is used to collect the information necessary to start the code generation process. When Advanced... is clicked the Template Bindings tab and the Task Queue to Execute Tab become visible as well.
When enough information is specified on the General Settings tab, the Start Generator button becomes enabled and you can start the process by clicking the Start Generator (Normal) button. If you want to debug your templates, you can run the generator in debug mode, by clicking the Start Generator (Debug) button. For normal usage, use the Start Generator (Normal) button.
LLBLGen Pro also ships with a command line code generator tool, cligenerator.exe. This tool is available in the LLBLGen Pro installation folder. The LLBLGen Pro sourcecode archive contains the sourcecode of this application which allows modification to the process.
LLBLGen Pro will generate VS.NET project files based on the .NET framework version chosen: e.g. it will generate VS.NET 2008 project files when code is generated for .NET 3.5 and VS.NET 2010 project files when code is generated for .NET 4.0 or .NET 4.5. If you're using VS.NET 2010 but you want to use .NET 3.5 instead of .NET 4 / 4.5, use the following steps:
From now on, you can re-generate code for .NET 4 or .NET 4.5 and the VS.NET project files will use .NET 3.5: LLBLGen Pro doesn't overwrite an existing VS.NET project file but updates it with changes, so a set .NET version will not be overwritten.