[Mono-devel-list] Problem: CSC fails to compile corlib (bug?) or is it an MCS bug ?

Marcus mathpup at mylinuxisp.com
Tue Aug 10 02:56:46 EDT 2004


mscorlib.dll is a special case. csc complains when you define and use a 
security attribute in the same assembly. Try setting the environmental 
variable __SECURITY_BOOTSTRAP_DB (to anything) and building.


On Monday 09 August 2004 3:45 am, Jacek Blaszczynski wrote:
> csc is unable to compile corlib under windows throwing the following error:
>
> Assembly generation failed -- Common Language Runtime Internal error:
> 0x80131443 later complining about using security attributes defind in the
> same assembly.
>
> Obviously mcs compiles without any problems.
>
> No problems with csc compiling other assemblies I have tested so far.
>
> Q1: is the use of security attributes within corlib violating in any way
> ECMA C# specs?
> Q2: who is right prohibiting use of security attributes in defining
> assembly?
> Q3: is it possible to compile corlib with csc - any workarounds ?
>
> Cheers
>
> Jacek



More information about the Mono-devel-list mailing list