如何创建备份文件visual studio local bd [英] How to create backup file visual studio local bd

查看:132
本文介绍了如何创建备份文件visual studio local bd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建备份文件visual studio local bd 

How to create backup file visual studio local bd 

推荐答案

好朋友,

通常,自动恢复(如果它已打开)可以帮助我们在开发环境崩溃或存在时备份我们的文件电力愤怒等等。

Usually, the AutoRecover (if it’s open) could help us backup our file when the dev environment crashes or there is a power outrage etc.

只需转到工具 - >选项 - >环境 - >自动恢复

但是如果您想在每次构建后备份文件,并复制项目到特定的本地磁盘,
  您可以在VS中指定一些设置:

But if you want to back up file after each build, and copy the project to specific local disk,  you may specify some settings in VS:

项目名称 - >属性 - >建立活动:

您需要编写脚本,让我们将解决方案复制到桌面

You need write a script, let’s copy the solution to desktop

示例代码:   

Example code:  

Xcopy "the project path"  C:\Users\Administrator\Desktop  

echo.|

祝你好运,

Fletch


这篇关于如何创建备份文件visual studio local bd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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