[英]Setting MS C# compiler options via environmental variables?
Is there any way to set default options passed to csc.exe? 有什么方法可以设置传递给csc.exe的默认选项? In particular, I'm interested in supressing copyright messages.
特别是,我有兴趣抑制版权信息。 For example, for cl.exe and ml.exe I have
例如,对于cl.exe和ml.exe,我有
CL = /nologo
ML = /nologo
rewrite csc.rsp 改写csc.rsp
Added 添加
/nologo / nologo
csc.rsp location is same folder of csc.exe csc.rsp位置是csc.exe的同一文件夹
Eg 例如
C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319 C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.