This does not work. The problem is that adding an existing dataset to a project only adds it as xsd. Visual Studio is thinking of an XML schema, not a dataset. This is true even in VS 2015. To make this work, after adding an existing xsd file, you must edit the project file using gvim or notepad and add the following lines:
Add to compilation section:
<Compile Include="MyDataSet.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>MyDataSet.xsd</DependentUpon>
</Compile>
Look for ItemGroup tag with
<None Include="MyDataSet.xsd"/>
Change this line as follows and add a couple more Done tabs just like this:
<None Include="MyDataSet.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>MyDataSet.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="MyDataSet.xss">
<DependentUpon>MyDataSet.xsd</DependentUpon>
</None>
<None Include="MyDataSet.xsc">
<DependentUpon>MyDataSet.xsd</DependentUpon>
</None>
Visual Studio. . xsd . , .