How to fix CLS-Compliant in autogenerated XSD code

355 Views Asked by At

We have a data set and one of the columns is a VB keyword. The generated code automatically put an underscore in front of it for the property name in *.designer.vb. This is giving a warning for CLS-Compliance. Now we would like to remove warnings and turn warnings as errors on. I know how to fix this normally, but if I do sooner or later someone will touch the designer, regenerate the code, and remove the fix. I can't change the column name at this point, it's too late. Is there a way around this dilemma?

0

There are 0 best solutions below