Under c sharp compile the.cs file into dll

  • 2020-05-05 11:49:13
  • OfStack

Call method: start   > >   all programs   > >   Microsoft   Visual   Studio   2005   > >   Visual   Studio   Tools   > >   Visual   Studio   2005   command prompts   > > When       is open, type csc/? See the compile options. Note: write the namespace into csc as well.

/out: < file >   output file name (default:       contains the file of the main class or the base name of the first file)      
/target:exe   generate console executable (default)       (abbreviation:       /t:exe)      
/target:winexe   generates       Windows Windows       (abbreviation:         /t:winexe)      
/target:library   generation library       (abbreviation:       /t:library)      
/target:module     generates modules       (      /t module) that can be added to other assemblies /define: < symbol   list >     defines the conditional compilation symbol       (abbreviation:       /d)      
/doc: < file >       XML       document file to be generated by  

Related articles: