Visual Studio has encountered an unexpected error.

This error generally occurs when Visual Studio receives data in an unexpected format or receives data from an unexpected source.

To correct this error

  • Close and then restart Visual Studio.