To generate C# code from a mapping design file (.mfd):
1.Review and select the desired code generation options (see Code generator options ).
2.On the File menu, click Generate code in | C#.
3.Select a destination directory for the generated files, and then click OK to confirm. The result of code generation (error or success message) is displayed in the Messages window.
The default name of the generated application is Mapping. If required, you can change this, and other settings, from the Mapping Settings dialog box (see Changing the mapping settings ).