The Decentralized Software Services (DSS) Project Migration tool allows migrating DSS service projects from pervious public releases and community technical previews (CTPs).
dssprojectmigration.exe [options] [SearchDirectoriesAndFiles]
Parameters
| Argument | Description |
|
SearchDirectoriesAndFiles |
One or more directories to search for projects to convert, or one or more specific files to convert |
| Option | Short Name | Description |
|
/Backup[+|-] |
/b |
Create backup for all changed files. We strongly encourage you to use backups to prevent irreversible corruption of your code. |
|
/ConvertVS2005ToVS2008[+|-] |
/vs2008 |
Convert VS2005 projects to VS2008. |
|
/MigrateProjectFiles[+|-] |
/p |
Update project files to target this version of Microsoft Robotics Developer Studio runtime. |
|
/MigrateProjectUserFiles[+|-] |
/u |
Update project user files. |
|
/MigrateSourceFiles[+|-] |
/s |
Update source files with breaking changes. |
|
/TargetDevice:<string> |
/t |
Set Compact Framework target device. |
|
/Verbosity:{Off|Error|Warning|Info|Verbose} |
/v |
Verbosity level. |
|
@<file> | |
Name of a text file containing arguments. Multiple arguments per line are allowed. An unquoted hash (#) comments out the remainder of a line. An argument file is processed by removing comments, leading and trailing spaces and tabs, processing quotation marks and escape sequences, and then processing the arguments as if they were on the command line. |
Remarks
Examples
Assume that you have upgraded to a new version of RDS. It is recommended that you keep all of your source code separate from the files that ship with RDS, say for example, in the Projects folder under the RDS installation point. To convert your code to the new version of RDS, open a DSS Command Prompt window and enter the command:
DssProjectMigration /b+ Projects
This will recursively migrate all the projects under the Projects folder and create backups first (because of the /b+) in case there are any problems during the migration.
Assume that a friend has sent you some source code in a ZIP file. To use this on your system you need to re-compile. Unzip the source into a folder under your RDS installation point, say FriendCode. Open a DSS Command Prompt window and enter the command:
DssProjectMigration /b- FriendCode
This will migrate all the services under FriendCode, but it will not create any backup copies. In this case, you have the original ZIP file so you do not need a backup and there is no point cluttering your hard drive with unnecessary copies.