The DLL will be created with the .dll extension.
Unless otherwise specified with the /out option, the output file name takes the name of the first input file.
When specified at the command line, all files up to the next /out or /target:module option are used to create the .dll file.
When building a .dll file, a Main method is not required.
To set this compiler option in the Visual Studio development environment
For information on how to set this compiler option programmatically, see OutputType.