在Visual Studio 2010窗体和sql server 2008中创建安装文件 [英] Create setup file in Visual Studio 2010 windows form and sql server 2008

查看:99
本文介绍了在Visual Studio 2010窗体和sql server 2008中创建安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好



我使用C#/ Sql server 2008在Visual Studio 2010上创建了一个Windows应用程序。 。我在网上搜索了一些有用的东西,但我没有找到任何关于以下的内容,任何人都可以帮我解决如何创建包含数据库和应用程序的安装文件。



谢谢

Hello

I have created a windows application on Visual studio 2010 using C#/Sql server 2008 . .I searched the the web to find something useful but I didn't find anything regarding the following, Can anyone pls help me out on how to create the setup file that contain the database and the application.

Thanks

推荐答案

这是一个视频链接:

http://www.youtube.com/watch?v=I4JgBdPQYIA [ ^ ]



或者按照这些链接提供帮助。

http:// www.msdotnet.co.in/2012/06/how-to-create-setup-fileexe-file-from.html#.U4QVICh6Pt0 [ ^ ]











Visual Studio Windows应用程序设置项目 [ ^ ]







1)只需在Visual Studio中添加新项目作为设置

2)并在其中你在右键单击并添加主要输出以及添加包含文件时找到了应用程序文件夹(通过使用它不需要单独添加数据库文件,因为它包含在包含文件中,但在这种情况下,数据库必须在您的可视化stdio项目中)

3)

以下你可以选择程序和桌面两个选项只需右击并创建新的快捷方式并将其定位到主输出

并构建它
This is a video link:
http://www.youtube.com/watch?v=I4JgBdPQYIA[^]

or Follow these link that may you help..
http://www.msdotnet.co.in/2012/06/how-to-create-setup-fileexe-file-from.html#.U4QVICh6Pt0[^]



or

Visual Studio Windows Application Setup Project[^]


OR
1)just add new project as setup from Visual studio
2)and in that you found application folder in that right click and add primary output as well as add contain file (by using that no need to add database file separately becose of its include in contain file but in this scenario you database must be inside your visual stdio project)
3)
below that you have option program and desktop in both option just right click and create new shortcut and target it to primary output
and build it


这篇关于在Visual Studio 2010窗体和sql server 2008中创建安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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