title: Error: Can only generate one of classes or datasets
body: <p>I've copied a Dataset from one csproj to another, and the new project gets the following compile warning:
  "The custom tool 'MSDataSetGenerator' failed while processing the file 'Client.xsd'."</p>
  
  <p>In researching this warning I discovered that if I opened a VS cmd prompt and run XSD.exe on the xsd file directly I get more info.  It says:
  "Error: Can only generate one of classes or datasets."</p>
  
  <p>The command line flag that fixes this is to run:
  XSD /d {xsdfilename}</p>
  
  <p>If I run that on the cmd line it generates the dataset code just fine.  But I can't figure out how to make Visual Studio do that.  Anyone know?</p>