1

Is there any way to set default options passed to csc.exe? In particular, I'm interested in supressing copyright messages. For example, for cl.exe and ml.exe I have

CL = /nologo
ML = /nologo
skaffman
  • 398,947
  • 96
  • 818
  • 769
Egor Tensin
  • 576
  • 4
  • 17
  • I don't believe that functionality is baked into csc.exe, but you could create a batch file that interprets the environment variables and uses them to invoke the real csc.exe. – M.Babcock Jan 04 '12 at 20:22

1 Answers1

1

rewrite csc.rsp

Added

/nologo

csc.rsp location is same folder of csc.exe

E.g.

C:\Windows\Microsoft.NET\Framework64\v4.0.30319

BLUEPIXY
  • 39,699
  • 7
  • 33
  • 70