Well, this seems to be kind of a bug in the tool. I faced a similar situation some time back, but could not trace out the issue. Often, it is because of a corrupted file. The only I could solve it was delete all project references & start afresh.
- [flexcoders] Re:An internal build error has occurred. Please c... Robi Ray

