Using the C# to DBL Solution Converter
The C# to DBL Solution Converter converts C# solutions into Synergy DBL solutions. It is included with SDI (see SDI features).
The C# to DBL Solution Converter uses the C# to DBL Code Converter, so see Using the C# to DBL Code Converter for code conversion limitations. Because the solution converter has all the information available in a solution, however, it is better able to load dependencies, and it is able to more accurately resolve types.
When you convert a C# solution, code in .cs files is converted to DBL code, .cs files are renamed as .dbl files, and all other files in the C# solution are copied into the Synergy DBL solution.
See the Synergex YouTube video Using the C# to DBL Code and Solution Converters in Visual Studio. |
To use the C# to DBL Solution Converter,
1. | Open a Synergy/DE project and select Tools > C# to DBL Solution Converter from the Visual Studio menu. |
2. | On the menu bar for the converter, select File > Open Solution. |
When you open a C# solution, the converter attempts to build it. If it is able to build the solution, the solution structure is displayed in the left pane. If it is unable to build the C# solution, you will not be able to convert it to a DBL solution.
3. | Use the Output folder field to specify a folder for the converted Synergy DBL solution. If you want code generated for a previous version of the Synergy Runtime, set the Language Version field to that version. |
4. | Select File > Convert Solution. |
The structure of the converted solution is displayed in the right pane.
To display or hide the Log Window, select View > Log Window.