Z
zee
Hi,
Is it possible to specify /debug
dbonly somehow in a C# project, or I must
resort to writing custom build scripts?
My problem is when I set Generate Debug Info to True, DebuggableAttribute
(true, true) is added to the assembly, which is VERY undesirable.
If I try to override the DebuggableAttribute in code, I get an error CS0647:
Error emitting 'System.Diagnostics.DebuggableAttribute' attribute --
'Assembly custom attribute 'System.Diagnostics.DebuggableAttribute' was
specified multiple times with different values'.
Distrubuting an additional .INI file with DebuggableAttribute overrides is
also undesirable.
It would be great if C# had a way to pass additional compiler options as C++
has. It would solve this and many other problems.
Is it possible to specify /debug

resort to writing custom build scripts?
My problem is when I set Generate Debug Info to True, DebuggableAttribute
(true, true) is added to the assembly, which is VERY undesirable.
If I try to override the DebuggableAttribute in code, I get an error CS0647:
Error emitting 'System.Diagnostics.DebuggableAttribute' attribute --
'Assembly custom attribute 'System.Diagnostics.DebuggableAttribute' was
specified multiple times with different values'.
Distrubuting an additional .INI file with DebuggableAttribute overrides is
also undesirable.
It would be great if C# had a way to pass additional compiler options as C++
has. It would solve this and many other problems.