Answer found

xsd files create typed datasets in C# Express 2005. All I need do is add it to the project.
But in VS 2003 adding it to the project does nothing.
I've tried several other xsd files and none of them seems to create typed datasets in VS 2003 the same way they do in C# Express.
Any suggestions please?
Patrick
The code is simple. I add dsMotd.xsd to the project and can type:
dsMotd tds = new dsMotd();
In VS 2003 I can't do that.
The file reads as follows if that helps...
<?xml version="1.0" standalone="yes"?>
<xs:schema id="dsMotd" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="dsMotd" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="tblmotd">
<xs:complexType>
<xs:sequence>
<xs:element name="motd_ID" type="xs:int" minOccurs="0" />
<xs:element name="motd_Text" type="xs:string" minOccurs="0" />
<xs:element name="motd_Author" type="xs:string" minOccurs="0" />
<xs:element name="motd_Class" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
[1457 byte] By [Patrick_Kirk] at [2007-12-16]
# 1
There's an option to generate a dataset on the Schema menu.
Patrick_Kirk at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 2
or right-click in the IDE and check "Generate DataSet"
BonnieB at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...
# 3
I'm assuming you're copying an xsd into the project, rather then select the new DataSet item to add to the project through Solution Explorer. Both posts above will work, but to get the same experience you'd get in 2005 and 2003 if you created the DataSet through the context menu, you'll need to set the Custom Tool property to MSDataSetGenerator. Once the file is added to the project, simple select the file in SolutionExplorer and check the property grid for the xsd file. Notice the CustomTool property. If you look at the properties in 2005 you'll see this value is set.

Steve Lasker
Program Manager
Visual Studio Data Designtime
blogs @ blogs.msdn.com/smartclientdata

SteveLasker-MS at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...