复制解决方案 [英] Copy the Solution

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

问题描述

我有一个Windows窗体应用程序,该应用程序具有数据库(本地数据源),
我可以复制项目文件夹到另一台计算机上并使用它吗?
可能吗 ?我该怎么做?:confused:

I have a windows form app which has a database(local datasource) ,
Can I copy past the project folder in another computer and work with it?
is it possible ? how can I do this?:confused:

推荐答案

您可以复制并粘贴项目...
没问题

但您无法剪切粘贴.因为附加了SQL Server数据库.

一种简单的方法是在不同的计算机上创建具有相同名称的相同数据库.备份原始数据库并将其还原到这个新创建的数据库上.现在分离此数据库并粘贴到您的项目文件夹中,然后再次附加它之后,这会有些麻烦,但是效果很好.........
you can copy and paste the project...
no issue

but you cannot cut paste. as SQL server database is attached.

simple way is that create same database with same name in different computer. take backup of original database and restore it on this newly created database. now detach this database and paste in your project folder then after attach it again this is some overhead but works fine.........


这篇关于复制解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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