- Home /
- Visual Studio /
wonsch6207
reported
May 10, 2018 at 04:46 AM
Solution by
wonsch6207
·
May 11, 2018 at 02:27 PM
I have found the solution from another post.
https://developercommunity.visualstudio.com/content/problem/247977/f7-does-not-build-anymore.html
SOLUTION:
I think the problem is EditorContextMenus.CodeWindow.ToggleRazorView is set to F7 as well.
Once I delete this shortcut above and set Build to F7 and "Shortcut currently used by" shows only Build then it works fine again for me.
Solution by
Joe Davis (WEB TOOLS) [MSFT]
·
May 11, 2018 at 05:15 PM
Thank you for reporting this issue. We added a new command in 15.7 that supports switching between a Razor View and its C# code file, and we 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.
Solution by
Blair Wang [MSFT]
·
Jun 19, 2018 at 01:19 AM
This issue has been fixed and is now available in an updated release. You can download the latest update via the in-product notification or from here: https://www.visualstudio.com . Thanks to everyone who provided feedback and votes on this issue!
56 People are following this
Green squiggles and light bulb with "Macro in skipped region" message.
7
Solution
AXML file doesn't open !!!
1
Solution
WinForms View.ToggleDesigner does not work as it used to
1
Solution
toggle designer key binding lost
2
Solution
Press F7 key on form desn't work (designer mode)
1
Solution
F7 View code in windows forms design
1
Solution
Unexpected error while editing Python document
1
Solution
Provisioning a new SQL Server and new SQL DB in a different region than the App Service plan fails
1
Solution
Switching between Designer and Code views
1
Solution
F7 starts no new build
2
Solution