sgen(1)

sgen1

Mono xml serializer generator

Usage

sgen [options]

Overview

Generates pre-compilable custom XML serializer classes for specific types.

Options

--assembly[:filename] , -a

Specifies the assembly filename to process.

--type[:typefullname] , -t

Explicitly specifies the runtime type to process.

--reference:[filename] , -r

Specifies an assembly filename, which is referenced by the target assembly and thus required to process it.

--compiler:[options] , -c

Specifies compiler options.

--proxytypes , -p

(Not supported yet.)

--debug , -d

Indicates the compiler to generate debug information.

--keep , -k

Indicates the compiler to keep generated temporary source files.

--force , -f

Indicates the generator to force overwriting existing assembly.

--out:[output-directory] , -o

Specifies the output directory for resulting files. By default, it is current directory.

--silent , -s

Indicates the tool to run silently.

--verbose , -v

Indicates the tool to be more verbose on its progress.

--help , -?

Display command line help.

Features

It generates a file which contains a set of classes for custom XML serialization. The resulting classes enable xml serialization faster since it does not have to generate serialization classes dynamically at run time.

Generated classes are supported only after 2.0 profile.

Mailing lists

Visit http://lists.ximian.com/mailman/listinfo/mono-list for details.

Web site

Visit http://www.mono-project.com for details

Releases

Unchanged in 10 releases since Debian 5.0 (Lenny).

  1. 5.0–Arch

Author

Written by Lluis Sanchez Gual

From mono 6.12.0.206-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.