Visual Studio 2015 Build and Run Keyboard Shortcut

前提是你 提交于 2019-12-01 06:25:35

By default, when you press CTRL+F5 Visual Studio asks you if you want to build a changed project:

It looks like you selected Do not show this dialog again and pressed No.

To revert it, change HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\General\BuildOutOfDateProjects from 1 to 2.

For all possible values see __BUILDOUTOFDATEPROJECTS Enumeration.

Update (thanks to Cody Gray): Instead of editing registry, check the On Run, when projects are out of date option:

In Visual Studio 2017 all I had to do was

F5

to build and run the project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!