按F5时如何设置Visual Studio始终构建和调试? [英] How to set Visual Studio to always build and debug when F5 is pressed?

查看:156
本文介绍了按F5时如何设置Visual Studio始终构建和调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去这样做,但现在如果在按F5之前不建立解决方案,它将使用最后构建的程序。



我必须搞砸了

解决方案

1)打开工具菜单,然后点击选项。 b
$ b

2)展开项目和解决方案。



3)点击Build and Run选项卡。



4)在运行中,项目过期下拉菜单中,选择始终构建。


It used to do this but now if I don't build solution first before pressing F5, it uses the last built program.

I must have messed up a setting somewhere I think.

解决方案

1) Open the "Tools" menu, and click "Options".

2) Expand "Projects and Solutions".

3) Click on "Build and Run" tab.

4) In the "On Run, when projects are out of date" dropdown, select "Always build".

这篇关于按F5时如何设置Visual Studio始终构建和调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆