C
C#2w ago
tommy

/reference flag in C# compiler

What is the use of this flag?
3 Replies
Omnissiah
Omnissiah2w ago
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.
tommy
tommy2w ago
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 it
333fred
333fred2w ago
Yes. 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
Want results from more Discord servers?
Add your server