An error was encountered during code generation. The changes you have made in the designer have only been partially committed ...

An error was encountered during code generation.  The changes you have made in the designer have only been partially committed to the source code.  You should check the source code carefully for errors before saving.  It is recommended that you examine the source code for errors and then close and re-open the source file.  The error message follows: 

{0}