3 Replies
do you need more explanations other than the doc? https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/inputs
Compiler Options - input file options - C# reference
C# Compiler Options to control input files for compilation. These options specify how the compiler reads metadata from dependent assemblies and modules.
a thing I am looking for
even after making a source code file a module, I am still able to use it as a library, i.e. using
/t:library
during compilation
so, it's the answer to this thing that I am looking by understanding the working of reference flag
ohhh
libraries are just a collection of modules!!
i think i got itYes. Assemblies contain one or modules, which contain 0 or more types. However, 99% of all assemblies you will ever encounter are 1 module
I really hope you're not using csc directly though
We don't recommend that at all