6.Visual Basic Upgrade Companion - Command Line Interface
To create an upgrade solution and perform the upgrade process:
VBUM <sourcePath> <solutionName(without extension)> [options*]
To upgrade an existing solution file:
VBUM
[options*]
Options detail:
|
/?
|
Show the usage of the VBUM
|
|
/license
|
Display the license information
|
|
/out <outputPath>
|
Specify the output directory
(Default: <sourcePath>\UpgradeOutput)
|
|
/profile <profileName>
|
Specify the upgrade profile
(Default: Default upgrade profile)
|
|
/target {vb|cs}
|
Specify the target language
(Default: vb)
|
|
/folder <folder>
|
Choose to preprocess/upgrade only one subfolder (it has to be relative to the solution
source path
|
|
/includeNeeded
|
Include all needed * projects in the preprocess
phase
|
|
/ignoreWarnings
|
Don’t update warnings when loading a solution
|
|
/phase <phaseId>
|
Execute only the indicated phase
(Default: Preprocess and upgrade)
|
|
<phaseId> values:
- solution - Only create solution file. Not valid for case #2 above
- preprocess - Only preprocess projects and create analysis information
- upgrade - Only upgrade phase using existing preprocess information
- assessment – Generate the
assessment report xml.
|
|
Typing options (only one option can be used):
|
|
/typer
|
Use full typing for object and variant members
|
|
/noTyper
|
Don’t use typing for object and variant members
|
|
/localTyper
|
Use local typing for object and variant members
|
|
* The needed projects are those that reference or are
referenced by one of the projects included in the upgrade. If the needed
project is not in the upgrade solution, it will not be included.
|
Examples:
See also:
Visual Basic Upgrade Companion Quick Start