Grab it here:
http://www.mainframe.demon.nl/SourcecodeCompiler.zip
Please post your experiences in this thread. I hope that this little program will be of some use.
From the readme ..
Automatic code compiler taskperformer
Release date: 27-sep-2005
Released by: Dennis Velthuis, Webcontent
Version: 1.0.2005.2
Changes
Information
This taskperformer can be used to automatically compile your generated code
after the code generation process has finished.
The supplied generator configuration files can be used stand alone for
compilation. You could also copy the contents of these files to an existing
generator configuration file. This way, the generation and compilation of
the code will be done in one batch.
This taskperformer should be used with the latest LLBLGen Pro Beta!
How to use
- Copy the contents of the bin folder and the .config files to the
TaskPerformers directory of your LLBLGen Pro (beta) installation directory.
- Change the 'runtimeLibrariesFolder' parameter if needed (see below).
- Generate your code.
- Choose either the 'Adapter, compiler' or the 'Selfservicing, compiler'
generator configuration to compile your code.
Generator config parameters
sourceFolder* : source code root folder
vsProjectFile* : vs.net project filename
destinationFolder* : compiled dll destination folder
outputFile* : compiled dll filename
logFile* : log filename
runtimeLibrariesFolder : location of runtime libraries, change to your current situation
optimize : perform optimization, allowed values: true/false (default is true)
reference : can be used to override the automatically generated reference list
imports : can be used to override the automatically generated imports list
additionalArguments : additional arguments for the compiler
cancelTimer : number of milliseconds after which compiler process is cancelled
Generator config placeholders
[dbspecificSubFolder] : equal to AdapterDbSpecificProjectFileSuffix
[dbspeficSuffix] : equal to AdapterDbSpecificNamespaceSuffix
[dbgenericSubFolder]: equal to AdapterDbGenericProjectFileSuffix
[dbgenericSuffix] : equal to AdapterDbGenericNamespaceSuffix
[rootNameSpace] : equal to RootNamespace
[extension] : equal to "vb" or "cs" depending on chosen template set
The original values are specified in the project properties window.
Problems?
- Check if the 'runtimeLibrariesFolder' points to the corect path.
- Check the application output window for clues.
- Check the generated log file.
- Visit the forums.
Tested with
LLBLGenPro 1.2005.1 Beta (25 September 2005)
Adapter & selfservicing scenario's
VB.NET & C#
SQL Server