[Mono-devel-list] Problem in compiling Class library in Windows while using SecurityPermissionAttr

Marek Safar marek.safar at seznam.cz
Tue Mar 22 09:13:36 EST 2005


Hello,

Which compiler (csc/mcs) and version are you using ?
What is your mscorlib version (date) ?

Marek

>
> I tried compiling Class library in Windows but I was not able to 
> compile the class library completely unless I remove 
> SecurityPermissionAttribute.cs file and all the usage of Security 
> permission attribute is commented out.
>
> I am getting compiler error " Assembly generation failed-security 
> custom attributes cannot be referenced from defining assembly"
> Currenlty security permission attribute and environment permission 
> attribute are extensively used inside class library and everything
> Is needed to be commented out to have complete build for the class 
> library.
>  
> The same problem I found in case of older version of class library 
> also. Why this problem is not yet fixed ? It would be really helpful 
> to know the reason and solution to avoid the build errors.
>
> Regards,
> VS
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list