DevExpress Project Converter: Console Application
- 2 minutes to read
Use the following syntax to run the Project Converter as a console application from the installation directory:
cd C:\Program Files\DevExpress 24.1\Components\Tools\Components
ProjectConverter-console.exe <drive:yourProjectPath> [options]
If the conversion is successful, ProjectConverter-console.exe
returns 0
as an exit code. It returns 1
if there were warnings, and -1
in case of an error.
Command Line Options
/?
- Displays a help page.
<drive:yourProjectPath>
- Specifies the single path that contains the project(s) to upgrade.
/fl:<drive:yourFilePath>
- Specifies the path to the file that contains a list of folders to upgrade. The file should be a plain text file with one folder path per line.
Additional Options
You can change the default Project Converter behavior and add the following options:
/o
- Skips subdirectories and upgrades only files in the specified directory.
/ro
- Skips read-only files.
/h:remove
Removes hint paths (the default behavior for versions prior to v21.2.4).
Tip
Choose this option if project assemblies are loaded from the installation directory.
/h:update
Updates hint paths (the default behavior for versions v21.2.5+).
Tip
Choose this option if project assemblies are loaded from a custom directory.
/b
- Does not create backup files.
/d:skipped
- Disables skipped file notifications.
/d:warning
- Disables warning notifications.
/d:error
- Disables error notifications.
/k:<yourPublicKeyToken>
- Allows you to specify your public key token if you purchased the DevExpress assemblies’ source code and compiled your version with a custom public key token.
See Also