diff --git a/Doc/Manual/CSharp.html b/Doc/Manual/CSharp.html index 28d6d2b2e..0c0d98c0e 100644 --- a/Doc/Manual/CSharp.html +++ b/Doc/Manual/CSharp.html @@ -14,7 +14,7 @@
Additional command line options that can be used to control code generation:
+
--outfile <filename>
-This command line will instruct the C# module to write all generated C# code to <filename> (located in the output directory) instead of creating separate files for generated classes.
-Caveats:
-
+swig -csharp -help +
| C# specific options | +|
|---|---|
| -dllimport <dl> | +Override DllImport attribute name to <dl> | +
| -namespace <nm> | +Generate wrappers into C# namespace <nm> | +
| -noproxy | +Generate the low-level functional interface instead of proxy classes | +
| -oldvarnames | +Old intermediary method names for variable wrappers | +
| -outfile <file> | +Write all C# into a single <file> located in the output directory + | +
+The -outfile option combines all the generated C# code into a single output file instead of creating multiple C# files. +The default, when this option is not provided, is to generate separate .cs files for the module class, +intermediary class and each of the generated proxy and type wrapper classes. +Note that the file extension (.cs) will not be automatically added and needs to be provided. +Due to possible compiler limits it is not advisable to use -outfile for large projects.