Search code examples
visual-studio-2010dataset-designercustomtoolcustom-tools

Custom tool error Failed to generate code


Why this error is appearing? I was just setting some default values in a dataset designer... its second time that this is appearing...
"Custom tool error Failed to generate code. Exception of type 'System.OutOfMemoryException' was thrown"


Solution

  • I just found a way to regenerate codes.
    In Solution Explorer right click on your DataSet and click Run Custom Tool.
    I do it after closing and reopening VS2010...
    Hope this help you, if you faced the problem...
    good luck