Visual Studio项目恢复旧版本 [英] Visual Studio Project restore old version

查看:2024
本文介绍了Visual Studio项目恢复旧版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2013的工作在一个ASP.NET web项目,它工作之前几个小时。但是,一个小时前,我在调整该项目的东西,搞砸了整个项目。反正是有恢复到版本昨天我?

I am working on an ASP.NET web project in Visual Studio 2013 and it worked couple of hours before. But an hour ago I was tweaking something in the project and messed up the entire project. Is there anyway to restore to the version I had yesterday?

推荐答案

如果您使用的版本控制,如水银,GIT,颠覆,TFS - 你还记得提交您的工作,然后是的,没错。

If you are using Version control, such as Mercurial, GIT, Subversion, TFS -- and you remembered to commit your work then YES, definitely.

如果你不使用版本控制,那么你要问自己,为什么不呢?而直到你已经纠正了监督今天不关闭电脑。

If you're not using Version Control then you need to ask yourself why not? And don't turn off the computer today until you've corrected that oversight.

此外,您还可能有previous版本/还原在Windows为您保存点。在Windows资源管理器中,右键点击您的工作正在保存的文件夹并选择属性。他们可能是一个'previous版本选项卡,里面你可以恢复到以前的版本。如果是这样的:幸运的幸运,你

Also, you may have previous versions/restore points saved for you in Windows. In windows explorer, right click on the folder where your work is being saved and select properties. They may be a 'previous versions' tab, and inside there you may be able to revert to an earlier version. If so: lucky lucky you.

另外,如果你的工作正在使用像DropBox的服务共享,你将能够找到早期版本的解决方案或项目文件。

Also, if your work is being shared using a service like DropBox, you will be able to find earlier versions of your solution or project files.

还有另外一个技术,我......我毫不犹豫地提到这一点。你需要的是从八十年代一个德罗宁汽车,以及足够的钚产生1点21千兆瓦。您还需要....算了吧,不,版本控制是你最好的选择。或 <大骨节病>控制 + <大骨节病>以Z

There is one other technique, and I... I hesitate to mention this. What you need is a DeLorean car from the eighties, and enough plutonium to generate 1 point 21 GigaWatts. You also need.... forget it, no, Version Control is your best bet. Or Ctrl+Z.

这篇关于Visual Studio项目恢复旧版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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