How to re-generate *DataSet.Designer.cs
In case of updating DataSet.xsd manually (i.e. editing SQLs ), those changes cannot be reflected to DataSet.Designer.cs automatically...
Here is how to fix it
- close VisualStudio solution/projects
- update SQL in DataSet.xsd with your favorite text editor
- remove/delete DataSet.Designer.cs
- open the solution with VisualStudio
-
! exclamation on DataSet.Designer.cs
-
-
run Custom Tool
-
DataSet.Designer.cs auto-generated