部署桌面应用程序(C#2008,SQL SERVER 2005) [英] to deploy a desktop application(C# 2008,SQL SERVER 2005)

查看:121
本文介绍了部署桌面应用程序(C#2008,SQL SERVER 2005)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想部署一个桌面应用程序。帮我创建一个设置文件,这样就不会出现任何SQL SERVER数据库错误。客户端机器不会安装visual studio2008和SQL SERVER 2005.我想在安装后软件(我的应用程序)应该没有任何错误或异常,它应该成功运行没有任何错误。这是我的第一个.net项目。帮助我解决我的问题。谢谢。

I want to deploy a desktop application.Help me out to create a set up file such that there wont be any SQL SERVER database error.The Client machine wont be having visual studio2008 and SQL SERVER 2005 installed.I want after the installation of software(my application)there should not be any error or exception ,it should run successfully without any error.This is my first .net project.help me to solve my problem.Thank you.

推荐答案

我们不能保证没有错误 - 这是你的事! :笑:



首先要注意的是,你不应该尝试安装SQL服务器 - 将其留给客户端,或使用不同的DB是单用户而不是。扩散SQL服务器实例不是一个好主意!



大部分工作可以通过在应用程序解决方案中创建安装和部署项目来完成。要添加数据库本身,请看一下: http:// techbrij。 com / 145 / install-sql-server-database-with-visual-studio-setup [ ^ ]
We can''t guarantee a lack of errors - that is your business! :laugh:

The first thing to note, is that you shouldn''t try to install SQL server - leave that to the client, or use a different DB that is single user instead. Proliferating SQL server instances is not a good idea!

Most of the work can be done by creating a "Setup and Deployment" project within your application solution. To add the databse itself, have a look at this: http://techbrij.com/145/install-sql-server-database-with-visual-studio-setup[^]


流程太长,无法解释,请访问以下链接


http://msdn.microsoft.com/en -us / library / ms953320.aspx [ ^ ]



http://msdn.microsoft.com/en-us/library/k3bb4tfd(v = vs.80).aspx [ ^ ]



跳他们会帮助你
The Process is too long to explain so please visit the following links

http://msdn.microsoft.com/en-us/library/ms953320.aspx[^]

http://msdn.microsoft.com/en-us/library/k3bb4tfd(v=vs.80).aspx[^]

Hope they will help you


你需要在你的解决方案中添加安装项目,你可以选择先决条件,你只需要选择你需要的软件&它将在安装您的应用程序时在客户端计算机上安装它,如sql server,.net framework。希望这会有所帮助。



请查看此链接。



http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html [ ^ ]



http:/ /www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx [ ^ ]
You need to add the setup project in your solution, there you have the option of prerequisites, you just need to selects the your required software & it will install it, like sql server, .net framework on client machine while installing your application. Hope this helps.

Please check out this links.

http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html[^]

http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx[^]


这篇关于部署桌面应用程序(C#2008,SQL SERVER 2005)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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