CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 12/24/2005 2:39:32 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 87 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
aspfun
Asp.Net User
CLS-Compliant warning message12/24/2005 2:39:32 PM

0/0

In VS 2003 app, there is a Dataset in which has a column named as 3M_AVG_UNITS. It works fine in VS 2003 but aftter conversion to VS 2005,  it caused a warnings message: Name '_3M_AVT_UNITS' is not CLS-Compliant'. If I double click warnings message, there is a green wave line under _3M_AVG_UNITSColumn.

How to get rid of this warnings message?

<System.Diagnostics.DebuggerNonUserCodeAttribute()> _

Public ReadOnly Property _3M_AVG_UNITSColumn() As System.Data.DataColumn

Get

Return Me.column_3M_AVG_UNITS

End Get

End Property

jdixon
Asp.Net User
Re: CLS-Compliant warning message12/27/2005 3:04:38 PM

0/0

Guessing this is for a DLL that you are building - in your AssemblyInfo.vb file add:

<Assembly: CLSCompliant(False)>

HTH

 

JD


This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
C# in a Nutshell: A Desktop Quick Reference Authors: Peter Drayton, Ted Neward, Ben Albahari, Pages: 897, Published: 2003
C# Essentials Authors: Ben Albahari, Peter Drayton, Brad Merrill, Pages: 202, Published: 2002
.NET 2.0 for Delphi Programmers Authors: Jon Shemitz, Pages: 517, Published: 2006
VB.NET Core Classes in a Nutshell: A Desktop Quick Reference Authors: Budi Kurniawan, Ted Neward, Pages: 558, Published: 2002
Practical Guidelines and Best Practices for Microsoft Visual Basic and Visual C# Developers Authors: Francesco Balena, Giuseppe Dimauro, Pages: 608, Published: 2005
Professional Visual Studio 2005 Team System Authors: Jean-Luc David, Tony Loton, Erik Gunvaldson, Noah Coad, Christopher Bowen, Darren Jefford, Pages: 700, Published: 2006
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Illustrated C# 2008: From Novice to Professional Authors: Daniel Solis, Pages: 694, Published: 2008
Practical .NET2 and C#2: Harness the Platform, the Language, the Framework Authors: Patrick Smacchia, Pages: 896, Published: 2006

Web:
Not CLS-compliant warning... - bytes I resolved the issue by specifying CLSCompliant(False). Glenn "Jay B. Harlow" < [email protected] in message ...
Warning Msg: Name '_ClassColumn' is not CLS-compliant. - bytes The code it automatiacly generated gets a warning message as follows: Warning 150 Name '_ClassColumn' is not CLS-compliant. ...
Re: "Not CLS Compliant" Warning in a Hello World example! Jun 16, 2006 ... "Chad" a écrit dans le message de news: ... Warning 3 'DalTest' is not CLS-compliant because it derives from ...
turn off warning "not CLS-compliant" : off, cls, turn, warning ... Apr 26, 2006 ... 4, ht suppress warning "member not CLS compliant" ? .... Linux Networking; Message Queue; Misc; Network Management; Networking Hardware ...
CLSCompliantAttribute Class (System) The current Microsoft Visual Basic compiler intentionally does not generate a CLS-compliance warning, however, a future release of the compiler will issue ...
languages vb Type of parameter is not CLS-compliant I am getting a warning message: Type of parameter 'nodParent' is not CLS- compliant on the following statement. Anything I can do to satisfy ...
CLS-Compliant Warning in VB Add-ins - Melody's VSTA Blog - Summit ... Jun 9, 2008 ... CLS-Compliant Warning in VB Add-ins. Melody's VSTA Blog ... Code Analysis Suppress Message Attributes in the ShapeAppCSharp Samples ... Change the attribute in this class to include CLSCompliant set to false. MySQL :: Re: Argument type 'MySql.Data.MySqlClient ... General information is that the "not CLS compliant" message means that the ... CLS compliant), and therefore also throw the same warning message when you ...
SubSonic: All your database are belong to us - View Issue Oct 1, 2008 ... AllStructs.cs warning message '_provider' is not CLS-compliant' (should be ... maybe this can be renamed so that it can be CLS-Compliant. ...
Is there a tool for checking CLS Compliance - Stack Overflow to check if the type of the parameter/variable is CLS compliant. ... You could just google the warning message you get. HTH, Kent ...




Search This Site:










creating a new website doesn't automatically create a virtual directory in iis

mdicontainer

webcombo movement in visual studio 2005

need to check if a particular row is selected

having trouble while trying to debug from vs2005 in iis

asp.net tries to use firefox

vs2005 startup problem workaround

svn applied for version control of my web application,but no tag overlay in ide.help!

c# testing project templates are missing!

vs 2005 team project management

vs 2005 feb ctp

vs 2005 debugger not stopping on break points

visual studio 2005 catching iis exceptions

this is ridiculous, i'm done with microsoft.t

c# code behind event handler issue

smarttags

build failed, but no errors?

how does classdesigner deal with composition & aggregation ?

how to debug a com+ component

default membership provider could not be found.

dumb question

uploading images in asp 2.0

visual studio 2005 features

question about beta..

configuring iis with vs2005 and asp 2.0 x64

vs 05

no list at class property of html element when a css is linked

sharepoint webparts with visual studio 2005?

manage resx files

do i have to convert my asp.net app in order to use vs.net 2005

  Privacy | Contact Us
All Times Are GMT