简体   繁体   中英

Setting MS C# compiler options via environmental variables?

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

rewrite csc.rsp

Added

/nologo

csc.rsp location is same folder of csc.exe

Eg

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM