LoginSignup
0
0

More than 5 years have passed since last update.

How to re-generate DataSet.Designer.cs with Custom Tool : MSDataSetGenerator

Last updated at Posted at 2017-08-18

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
    b4CustomTool.jpg

  • errCustomTool.jpg
  • run Custom Tool
    CustomTool.jpg
  • DataSet.Designer.cs auto-generated
    aftCustomTool.jpg

:relieved:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0