// archives

DataSet

This tag is associated with 1 posts

Migration headache: MSDataSetGenerator failed

Here’s a real treat.  I’m working on yanking some old .Net 1.1 code forward to 2.0, including a bunch of DataSets, so I was grabbing these old 1.1 DataSet XSD files, pasting into the new project directory, doing an "Add Existing" in the new project, and letting VS2005 re-generate all the "accessory" files that accompany the XSD.  This wasn’t really exciting, but it was easy, and it was working really well until I got to one that just wouldn’t import cleanly.
The first thing I noticed was a build error:

Custom tool error: Failed to generate code. Failed to generate code. Exception has been thrown by the target of an invocation. Input string was not in a correct format. Exception has been thrown by the target of an invocation. Input string was not in a correct format.