Depois de algumas tentativas, adicionei F7 a qualquer item relacionado à opção "ViewCode", do que funciona novamente,
The Web Tools team added a new command in 15.7 that supports switching between a Razor View and its C# code file, and mapped it to F7 because that's a common mapping for similar commands. However, we didn't realize that this overlaps with the build command in certain keyboard schemes and needs to be removed from those schemes.
We are working on a fix that we will push out very soon. In the meantime, you can unblock yourself with the following workaround.
- Go to Tools->Options->Environment->Keyboard
- In "Show commands containing" type "ToggleRazorView"
- Select "EditorContextMenus.CodeWindow.ToggleRazorView"
- Next to "Shortcuts for selected command" click "Remove"
Responder por Vino Wang de Comunidade de desenvolvedores do Visual Studio
ATUALIZAÇÃO:
Thank you for your feedback! We have fixed the problem in an upcoming release (15.7.4.) Thank you for helping us build a better Visual Studio!
Finalmente! : D
Você precisa remover o atalho F7 anexado a:
ToggleRazorView