如何在visual studio 2012中恢复我的项目? [英] How to recover my project in visual studio 2012 ?

查看:168
本文介绍了如何在visual studio 2012中恢复我的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI GUYS。



i写了一些代码并按下调试现在我想要以前的程序(没有这个新代码)



我该怎么做?

HI GUYS.

i wrote some codes and pressed debugging now i want to have previous program(without this new codes)

how can i do that?

推荐答案

如果你使用的是源代码管理软件,你可以回滚到上一次办理登机手续。但是,听起来你不是那样做的。在这种情况下,如果您的解决方案仍处于打开状态,则可以尝试撤消按钮。 Visual Studio可以节省大量撤消步骤。但是,一旦你做了某些行动(比如关闭解决方案),历史就会永远消失。我真的建议你查看Git,Mercurial等源代码控制软件。关于如何设置和使用它们,有很多很好的资源。
If you were using source control software, you could roll back to your last check in. However, it sounds like you aren''t doing that. In that case, you can try the undo button if your solution is still open. Visual Studio saves a lot of undo steps. However, once you do certain actions (like closing the solution), the history is gone forever. I would really recommend looking into source control software like Git, Mercurial, etc. There are a lot of good resources out there on how to set them up and use them.


这篇关于如何在visual studio 2012中恢复我的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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