Edit and Continue : error 1010

A static or global variable was added: variable referenced in file

Edit and continue does not support changes to static or global variables.

To correct this error

  • Stop debugging and build your application again.