Visual Studio 2010中,当有code的变化是不是一个运行之前建设 [英] Visual Studio 2010 isn't building before a run when there are code changes

查看:117
本文介绍了Visual Studio 2010中,当有code的变化是不是一个运行之前建设的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用F5(开始调试)已使用多年打造的code(如果它的过时了),然后调试。这是工作的VS 2010也不过今天只是开始调试不构建。说我做一个干净的项目,然后按F5,而不是建立它,所以它可以运行它抛出一个错误消息说,exe文件不存在运行的。我如何让它先建?还有什么比有哪些变化?

I've been using using F5 (Start Debugging) for years to build the code (if its out of date), and then debug. This was working on VS 2010 also, however today it just start debugging without a build. Say I do a clean on the project, and then hit F5 instead of building it so it can run it throws an error message saying that the exe doesn't exist to run. How do I make it build first? What could have changed?

推荐答案

工具+选项,项目和解决方案,构建和运行。 在运行,当项目已经过时了=始终建立。低于一=不要启动。

Tools + Options, Projects and Solutions, Build and Run. "On Run, when projects are out of date" = Always build. The one below that = Do not launch.

这篇关于Visual Studio 2010中,当有code的变化是不是一个运行之前建设的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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