C# Code Generation

C# Add-In

C# Code Generation

Top  Previous  Next

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].

 

cs_codegen_base_element

 

3.At the [Select the code generation element] page, select the elements and click [Next].

 

cs_codegen_element

 

4.At the [Select Output Directory] page, select a directory to save the output sources and click [Next].

 

cs_codegen_basedir

 

5.At the [Option Setup] page, select options and click [Next]. Reverse engineering will start now.

 

cs_codegen_option

 

6.The [Code Generation] page will show the code generation progress status and return code generation failure or success results.

 

cs_codegen_end

noteNote

·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.

 

cs_codegen_profile_not_included