views:

302

answers:

1

It all about a typed Dataset...

The 'urn:schemas-microsoft-com:xml-msdatasource:DataSetUISetting' element is not declared

<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
     This code was generated by a tool.
     Changes to this file may cause incorrect behavior and will be lost if
     the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  <TableUISettings>
    <TableUISetting Name="TableName">
      <ColumnUISettings>
        <ColumnUISetting Name="TableColumn">
          <ControlSettings>
            <ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form">
              <BindableControlInfo Name="LookUpEdit" Type="DevExpress.XtraEditors.LookUpEdit" AssemblyName="DevExpress.XtraEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
            </ControlSetting>
          </ControlSettings>
        </ColumnUISetting>
      </ColumnUISettings>
    </TableUISetting>
  </TableUISettings>
</DataSetUISetting>

Why do i get this warning in the Dataset.xsc file? If i am not wrong the .xsc file is auto generated by Visual studio. And when i open it with visual studio, i am getting the warning displayed above.

What is the correct way of declaring XML schemas?

Should it be declared correct since it was auto-generated? ;)

+1  A: 

As John Saunders suggested... The warning is a bug in Microsoft's code, not yours

Chocol8