Search code examples
visual-studiovisual-studio-2017

Why do I get an error dialog with "You must rename an identifier" from Visual Studio?


I am continuously getting this error message: "You must rename an identifier" from Visual Studio 2017 Community Edition.

The error dialog is:

  • Title: Microsoft Visual Studio,
  • Icon: Red circle with a white X (Error),
  • Body: "You must rename an identifier."
  • Available Buttons: OK

Error Message

I have already ran a repair of my Visual Studio installation, but the problem is still the same.


Solution

  • I went to menu==> Tools==> Options==> Environment==> Keyboard, then pressed the Reset button. After this the message isn't coming. i think there had some common key mapped as a shortcut as Matt Johnson said. Resetting buttons clears common key mappings.