问题
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"
回答1:
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
来源:https://stackoverflow.com/questions/4058446/custom-tool-error-failed-to-generate-code