I’m writing a framework, and we want it to be available from C#,C++, VB. We are not stricted to any other languages for now. But we have some problems in using CLS (we have to use unsign’s etc.). Can you give some real problems that appear if we are not using CLS here?
Share
It’s generally considered good practice to mark the assembly as
CLSCompliant, then use theCLSCompliant(false)attribute on Types and Members that are not CLS-compliant.Of course if the majority of types in your assembly are not CLS-compliant, it probably makes more sense to mark the assembly as non-compliant.
One way to minimize problems with other languages is to mark only individual members with
CLSCompliant(false), and provide CLS-compliant alternatives for each such member.