的Visual Studio 2013,变化不是在展示调试 [英] Visual Studio 2013, changes not showing in debug

查看:171
本文介绍了的Visual Studio 2013,变化不是在展示调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近升级到Visual Studio 2013 Pro和我有一些磨合问题。

Have recently upgraded to Visual Studio 2013 Pro and am having some teething problems.

主要是如果我改变在任何一个.aspx页面中的任何HTML或CSS Web窗体或.cshtml为MVC,这些变化并不总是反映我工作,当我调试它的网页上,并不会出现不管我怎么刷新时间或清空缓存。结果
使用AM网络要领,它应该把变化直,需要刷新页面在页面上,但是这似乎并没有被任何工作。

Primarily if I change any HTML or CSS in either a .aspx page for Web Forms or .cshtml for MVC, the changes aren't always reflected on the page I'm working on when I debug it and don't appear not matter how times I refresh or clear my cache.
Am using web essentials, which should put the changes straight on the page with have to refresh the page but this doesn't seem to be working either.

也偶有,但并非总是如此,如果我停止调试,修改code的后面,然后再次运行该项目它说,它是从一个不同的版本code比一的运行正在调试,我要停止它,重建,然后进行调试。

Also occasionally, but not always, if I stop debugging, change the code behind then run the project again it says it's running from a different version of the code than the one being debugged and I have to stop it, rebuild and then debug.

从未有过在Visual Studio中的previous版本的这些问题。

Have never had these problems on previous version of Visual Studio.

有什么建议?

推荐答案

进入工具 - 选项

根据项目和解决方案 - >生成和运行选择总是建立下的上运行,当项目已经过时了

Under Projects and solution -> Build and Run select "Always build" under "On Run, when projects are out of date"

这篇关于的Visual Studio 2013,变化不是在展示调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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