Restrictive permissions interfer with designer class
Status: Alpha
Brought to you by:
lordfkiller
The following attribute refuses all permissions except the ones demanded explicitly:
[assembly: SecurityPermission(SecurityAction.RequestOptional)]
This attribute stops designer(throws exception). The designer works when it is commented out and all other RequestOptional(s) are changed to RequestMinimum. But we cannot do this for security reasons.
In fact, the designer works when there is no declarative permission attribute with SecurityAction.RequestOptional.
AssemblyPermissions.cs, line 8.