Console Application

You can run the Project Converter as a dialog window or as a console application from the command line. Use the following syntax to run the Project Converter from the command line:

ProjectConverter-console.exe [projectPath] [options]

The projectPath parameter specifies the target path, and options specifies one or more options from the table below.

Option

Description

/fl:drive:path

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.

/k:PublicKeyToken

Specifies the custom public key token.

/h:remove

/h:update

Specifies whether to remove or update hint paths.

If none of these options are specified, the default behavior removes hint paths.

/o

Do not process subdirectories.

/ro

Skip read-only files.

/b

Do not create backup files.

/d:skipped

/d:warning

/d:error

Disable skipped file notifications.

Disable warning notifications.

Disable error notifications.

/xv:xafversion

Use a custom XAF version.

The Project Converter console application returns one of the following values that determine the conversion result:

0 - no issues

1 - there were warnings

-1 - there were errors

See Also