NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

/target:module (Create Module to Add to Assembly)

/target:module

Remarks

To not generate an assembly manifest, use the /target:module option. The output file will have an extension of .dll.

A file that does not have an assembly cannot be loaded by the NGWS runtime. However, such a file can be incorporated into the assembly manifest of an assembly via /addmodule.

If more than one module is created in a single compilation, internal types in one module will be available to other modules in the compilation. When code in one module references internal types in another module, then both modules must be incorporated into an assembly manifest, via /addmodule.

Example

Compile in.cs, creating in.dll:

csc /target:module in.cs

See Also

/target (Specify Output File Format) | C# Compiler Options