silverlight - Why is my MEF usage not CLS-compliant? -
when compile silverlight application, of elements decorated mef attributes warning of cls-noncompliance. when compile again, warnings not return, , application seems run fine. need worry about? i'm using standard naming convention properties, classes, , such. time use underscores private members.
i'd assume assembly mef attributes contained in not have clscompliant attribute set.
ie, if reference silverlight class library, class library should have attribute set in assemblyinfo file:
[assembly: clscompliant(true)]
Comments
Post a Comment