Saturday, July 22, 2006 9:56 PM
I used a wizard today to create a dataset (.xsd) and when I ran my web application I had hundreds of warnings in my newly generated dataset telling me my code was not CLS-compliant. I checked out what CLS-compliant means and apparently this warning is new in VS 2005 and is used to check to see if your application is following CLS (Common Language Specifications). In other words the CLS are a set of rules used to check if the code in one language can be used in another language.
I checked Google for an answer and only found a work around that turned the functionality of the CLS checking off. I have been looking for another way to go about fixing this problem, but I haven’t found anything yet. There has to be a reason why the dataset generated (by VS 2005) caused all of these errors. Has anyone else gotten CLS warnings and fixed the problem without just turning off CLS checking?