Another editor has the file open in an incompatible mode

Complete error message: Please close the editor and try this operation again.

This message is similar to Another editor has '<document name>' open in an incompatible mode, but Visual Studio is unable to determine the file name.

To correct this error

  • Close the editor that has the file already open and try again.