Parameters
ODS takes the following command line parameters:
ODSGEN solutionfilename [/NOGBU] [/GVU] [/R] [/I]
You must always pass in an ODS Solution filename as the first parameter.
/NOGBU
By default build upgrade source code is generated. Use this option to stop ODS from generating source code that upgrades the database a build at a time.
/GVU
By default version upgrade source code is NOT generated. Use this option to tell ODS to generate source code that upgrades the database directly from one version to the next.
/R /RELEASE
This option is only relevant if your solution is configured to generate a batch file that can compile the source code. By default this batch file compiles the source code in debug mode. Use this option to tell ODS to generate a batch file that does not compile the source code in debug mode.
/I /INCREMENTBUILD
Instructs ODS to increment the build number for the source code. Note that the new build number will not be saved to the solution file. Unlike ODS Design Studio, ODSGen does not save the project file during the build process.