在Visual Studio中,如何在不构建项目的情况下调试项目 [英] In Visual Studio, how do I debug a project without building it
问题描述
这是针对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屋!