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

vasantha selvi vasanthp_2000 at hotmail.com
Tue Mar 22 08:55:19 EST 2005

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.


More information about the Mono-devel-list mailing list