Glenn,
Normally the first thing I do when I see this is verify that I have:
<Assembly: CLSCompliant(True)>
In my AssemblyInfo.vb file. This informs the VB compiler that all the types
in that assembly are CLS Compliant.
Then on a case by case basis I will add <CLSCompliant(False)to respective
types and/or type members that I verify are not CLS Compliant.
http://msdn.microsoft.com/library/de...classtopic.asp http://msdn.microsoft.com/library/de...cification.asp
--
Hope this helps
Jay B. Harlow
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"Glenn Palomar" <glenn.palomar@autodesk.comwrote in message
news:uva44eU8GHA.4084@TK2MSFTNGP05.phx.gbl...
Hi,
>
I just migrated my application to VS2005 and I get 2 warnings saying:
>
"Type of parameter 'app' is not CLS-compliant."
>
"Return type of function 'AppInventor' is not CLS-compliant."
>
Can anyone help me understand what these warning errors mean and how to
fix?
>
Thanks for the usual help,
Glenn
>
>