/target:module
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.
Compile in.cs
, creating in.dll
:
csc /target:module in.cs