从C#项目创建一个设置文件 [英] creating a set up file from c# project

查看:92
本文介绍了从C#项目创建一个设置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用sql数据库的C#项目,该数据库存储在我的项目的debug文件夹中,如何创建设置文件,以便我可以在其他系统上运行它..... thanx

i have a C# project which uses a sql database and the database is stored inside the debug folder of my project how to create a set up file so that i can run it on other systems........thanx

推荐答案

创建新项目作为解决方案的一部分:安装和部署项目.这将添加所有必需的文件,并为您的应用程序构建一个安装程序.

请注意,这不会(也不应)为您安装SQL Server-您的目标计算机应该可以访问它自己的实例; SQL Server的安装不是程序安装的正常部分.
Create a new project as part of your solution: a Setup and Deployment project. That will add all the necessary files and build you an installation program for your app.

Do note that this will not (and should not) install SQL server for you - your target machine should have access to it''s own instance of that; installation of SQL server is not a normal part of a program installation.


这篇关于从C#项目创建一个设置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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