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

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

问题描述

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?

推荐答案

不太确定你可以恢复它 - 如果你没有关闭你的编辑器你可以尝试使用Ctrl-Z删除你的最后几个变化 - 这实际上取决于你应用了多少变化。



养成采取备份或使用源代码控制(例如git或subversion)的习惯来避免未来的这个问题
Not so sure that you can recover it - if you haven''t closed down your editor you could try using Ctrl-Z to remove your last few changes - it really depends on how much change you applied.

Get into the habit of taking backups or using source control (e.g. git or subversion) to avoid this issue in future


如果您的项目是VSS / TFS,那么很容易恢复以前版本的代码库。



但是,如果没有,则必须备份代码库。
If your project is added is VSS/TFS then it is easy to recover your previous version of the codebase.

However if not then you must need to take the backup of your code base.


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

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