调试时,代码或设计器中的更改不会更新 [英] Changes in the code or the designer won't update when debugging

查看:127
本文介绍了调试时,代码或设计器中的更改不会更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Visual Studio Express 2015中调试我的VB.net应用程序。当我意识到我的更改时不会在我的表单上更新设计器或代码。我发现在线解决方案说" 清除
out"Debug" bin下的文件夹
"但我甚至可以在使用该调试目标的cos之后运行该程序。

I am trying to debug my VB.net app in Visual Studio Express 2015. when I realized my changes will not update on my form-on the designer or in the code. I found a solution online says "clear out the "Debug" folder under the bin" but i even can run the program after using that cos of debug target is missing.

我已经坚持了几个小时并且真的不想重做我的作业cos

  有没有人有解决方案? 

 Does anyone have a solution? 

推荐答案

如果您的意思是这样,请在表单上放置一个Button,构建/运行并且按钮不显示或您编写的代码不执行)。如果这与您的问题类似,请右键单击解决方案资源管理器并选择"配置管理器"。
出现一个对话框(如下所示)确保为此项目检查Build。

If you mean something like this, place a Button on the form, build/run and the button does not show or you wrote code that does not execute). If this is similar to your issue then right click on Solution Explorer and select "Configuration Manager". A dialog appears (like shown below) Make sure Build is checked for this project.

如果这样做无效,请关闭Visual Studio。打开项目文件夹并删除obj和bin文件夹,然后重新启动Visual Studio并再次尝试构建/运行。

If that does not help, close Visual Studio. Open the project folder and delete obj and bin folder then restart Visual Studio and try build/run again.

还没有帮助?表格上是否有任何第三方控件?这可能是一个问题。

Still not helping? Are there any third party controls on the form? This might be an issue.

是否安装了任何Visual Studio扩展?禁用它们。

Are there any Visual Studio extensions installed? Disable them.


这篇关于调试时,代码或设计器中的更改不会更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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