Error: An internal build error has occurred. Right-click for more information
I struggled finding the solution for this error. But you couldn’t guess!! the solution is very simple
Search for a switch statement without any cases. For example:
switch(value)
{
//No cases
}
Remove that and recompile the application.
Boom!!!! The error disappears. It is as simple as that. I hope this is useful to you all.