在Visual Studio中,如何在不构建项目的情况下调试项目 [英] In Visual Studio, how do I debug a project without building it

查看:151
本文介绍了在Visual Studio中,如何在不构建项目的情况下调试项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是针对Visual Studio 2008的.

This is for Visual Studio 2008.

我将Tools|Projects and Solutions|Build and Run|On Run, when projects are out of date设置为Always build,因为这是我通常想要的.但是,有些时候(当我在版本控制中检查历史版本时)我想跳过构建过程.是否有一个神奇的按键可以覆盖一个调试会话的构建步骤,因此我不必更改设置并将其更改回原来的状态?

I have Tools|Projects and Solutions|Build and Run|On Run, when projects are out of date set to Always build because that is what I usually want. However, there are some times (when I am examining historic versions in version control) where I want to skip the build process. Is there a magic keystroke that will override the build step for exactly one debugging session so I don't have to change the setting and change it back?

推荐答案

请右键单击解决方案名称,然后转到Properties -> Configuration Properties -> Configuration,清除项目的Build复选框.

Please right click solution name and go to Properties -> Configuration Properties -> Configuration, clear the Build checkbox of the project.

这篇关于在Visual Studio中,如何在不构建项目的情况下调试项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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