Skip to Content
0
Former Member
Apr 18, 2007 at 11:12 PM

Crystal Report components not CLS-compliant after upgrade

140 Views

I upgraded a web project with Crystal Reports from Visual Studio 2003/NET 1.1/Crystal Reports 9 to Visual Studio 2005/NET 2.0/Crystal Reports 10. Among other problems I saw the warning

Type of member 'CrystalReportViewer1' is not CLS-compliant

for a number of my CrystalReportViewers and a couple of CrystalReportSources too.

I fixed the other problems but the only way I removed the warnings is by commenting out the <Assembly: CLSCompliant(True)> tag in AssemblyInfo.vb.

Is there a way to actually fix the problem instead of just making the messages go away? I looked around for CLS-compliant attributes or information but didn't find anything useful.