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"
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