[Mono-devel-list] csc build and SecurityPermissionAttribute problem on cygwin

Miguel de Icaza miguel at ximian.com
Mon Feb 23 11:07:05 EST 2004


Hello,

> Is there any problem around using mcs to build mcs on cygwin, like
> we have been doing on Linux? Currently the cygwin build uses csc by
> default, but it introduces a problem that we can never use
> SecurityPermissionAttribute. So I would suggest that we had better
> use mcs instead of csc.

MCS has problems on Windows when using the Windows runtime, since their
Reflection.Emit crashes in a few places and has a few limitations that
we have worked around on Mono's runtime.

So if we are to use MCS on Windows, we must use it with the Mono
runtime.  

I am ok with doing the switch, but I would like to keep a csc-based
compilation profile active, to be able to sanity check our code and to
make sure we do not introduce a dependency in the source code on an mcs
bug inadvertently.

Miguel.



More information about the Mono-devel-list mailing list