Procedure for Code Generation :
1. | In StarUML(tm), select the [Tools] -> [C#] -> [Generate code...] menu. |
2. | At the [Select Package Starting Location] page in the [Generate code...] dialog box, select a package and click [Next]. |
3. | At the [Select the code generation element] page, select the elements and click [Next]. |
4. | At the [Select Output Directory] page, select a directory to save the output sources and click [Next]. |
5. | At the [Option Setup] page, select options and click [Next]. Reverse engineering will start now. |
6. | The [Code Generation] page will show the code generation progress status and return code generation failure or success results. |
Note
· | The following error will occur if C# code generation is executed without including C# profile. Please ensure that C# profile is included in the project before executing code generation. |
|