经过一些调试会话后,vb.net项目停止响应代码中所做的更改 [英] vb.net project stops responding to the changes made in the code, after some debugging sessions

查看:185
本文介绍了经过一些调试会话后,vb.net项目停止响应代码中所做的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我开发了vb.net项目,在其中一个项目中使用了Visual Studio 2005.该项目似乎处于已提交"状态,并且不响应代码中所做的更改.在调试会话期间运行约20-25后,此问题开始.

我需要为我的项目重新发明轮子吗?或对此问题有解决方案吗?请回答,谢谢.

-deveshdevil.kumar6@gmail.com

Hi,
I develop vb.net projects, I used visual studio 2005 for one of my projects. The project seems to be in "committed " state, and does not responds to the changes made in the code. This problem starts after some 20-25 runs, during the debugging session.

Do I need to reinvent the wheel for my project?? Or is there any solution for this problem? Please Do answer, Thank you in advance.

-deveshdevil.kumar6@gmail.com

推荐答案

我将您的问题解释为意味着在运行应用程序时不会反映您对代码所做的更改.造成这种情况的最常见原因是您有一个或多个DLL项目,而这些项目上的最新代码已更改.无论出于何种原因,Visual Studio均无法将更新的DLL复制到exe文件夹(在VS的最新版本中存在各种此类错误).一个快速的解决方法是清理解决方案,并确保确实将更改后的DLL复制过来.
I interpreted your question to mean that changes you made to the code are not reflected when you run the application. The most common cause for this is that you have one or more DLL projects and the recent code changes are on those projects. For whatever reason Visual Studio fails to copy over the updated DLLs to the exe folder (there have been various such bugs in recent versions of VS). A quick fix is to do a clean of the solution and to make sure that the changed DLLs are indeed copied over.


用术语"Committed",我可以假设您正在使用版本控制工具(例如"VSS"或"Trotorise SVN")或其他一些工具.如果是这样,并且您的代码最近中断了,那么您可以还原最近的更改(如果它们不是关键的更改),并在确保源代码稳定之后再次仅重复最近的更改.

或者,如果本地源不起作用,但修复源上的源是稳定的,则可以从存储库中签出(或提取最新源)到新目录,然后使用"Compare It"之类的文件比较工具(Google它)来比较这两者,并找出所需的/不需要的更改.

希望对您有帮助...

谢谢,
凯瑟尔(Kathir)
By the term "Committed", I can assume that you may be using a version control tool like "VSS" or "Trotorise SVN" or some other tool. If so and if your code recently broke, then you can revert your recent changes (if they are not critical changes) and repeat only the recent changes again after ensuring the stability of the source.

Alternatively if the local source is only not working but the source on the reprository is stable, then you can check out (or pull the latest source) from repository to a new directory and then use some file comparison tools like "Compare It"(Google it) to compare those two and figure out the required/unwanted changes.

Hope it helps...

Thanks,
Kathir


这篇关于经过一些调试会话后,vb.net项目停止响应代码中所做的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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