[Mono-devel-list] csc build and SecurityPermissionAttributeproblem on cygwin

Atsushi Eno atsushi at ximian.com
Sat Feb 28 12:07:14 EST 2004


> Normally custom security attributes should not be defined and referenced in 
> the same assembly, but mscorlib is a special case. The mscorlib is built in 
> two stages. During the first stage, the security attributes are handled using 
> some custom tools. This special build step is signalled by an environment 
> variable  __SECURITY_BOOTSTRAP_DB, which points to one of Rotor's build 
> directories. One of the consequences of defining that variable is that the 
> normal restriction on defining and using security attributes seems to be 
> lifted. For purposes of building Mono's mscorlib, it does not seem to matter 
> where the variable points to, as long as it is defined csc will compile 
> Mono's mscorlib without complaint. 

Thanks, it worked on .NET 1.1 (&WinXP). However, I have no idea if
it is no problem with attached fix based on the information above
with .NET 1.0. If no problem was reported, I'll commit it later.

Well, the patches are really quick fix. We might be able to reduce
complicated part of those makefiles.

Atsushi Eno

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cscbuild.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040229/7c89e02e/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: csc_corlib.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040229/7c89e02e/attachment-0001.pl 

More information about the Mono-devel-list mailing list