Folks, for about a year now I have suffered from a seemingly random
affliction where the XSD files in VS2010 projects generate strongly typed
dataset classes that won't compile because they don't implement generic
collections. It happened again yesterday when I checked out my projects on a
new machine.

 

Cleaning the solution and generated files or running custom tool from the
context menu does not help. However, if you change the XSD files in any way
in the designer and save them, then the correct code is generated. By
"change" I also mean just moving the objects on the designer around by a few
pixels. That's what I did to my 10 XSD files and saved them, and it all
compiled again okay.

 

So that mystery is finally answered. I did not waste time trying to go from
good to bad and back again to reproduce the problem.

 

Greg

Reply via email to