我们可以使用vs 2010为Web应用程序创建.exe或设置文件 [英] can we create .exe or set up file for web application using vs 2010

查看:105
本文介绍了我们可以使用vs 2010为Web应用程序创建.exe或设置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我开发了网络应用程序,但客户希望将此应用程序作为独立使用。我可以创建.exe的网站应用程序。我正在使用ms访问数据库。



我已经经历过很多喜欢但我没有在任何地方完美答案



http://social.msdn.microsoft.com/Forums/en-US/37fe11c4-fef3-41f9-97a1 -268ba8609ffa / how-do-i-build-an-exe-in-visual-studio-c-2010-express?forum = csharpide [ ^ ]

推荐答案

请阅读问题评论和谢尔盖的解释(解决方案1)。



您的问题听起来:我们可以使用vs 2010创建.exe或为Web应用程序设置文件

和答案是:是的,你可以



正如我在评论中提到的那样,在构建问题的方式时要小心,因为完美的答案是完美的问题。你需要决定你想知道什么:1)如何创建exe?或2)如何创建设置?相信我,它会有所不同。
Please, read comments to the question and Sergey's explanation (solution 1).

Your question sounds: "can we create .exe or set up file for web application using vs 2010"
And the answer is: Yes, you can

As i mentioned in comment, be careful in the way you construct a question, because as perfect answer is, as perfect is question. You need to decide what you want to know: 1) how to create exe? or 2) how to create setup?. Believe me, it makes the difference.


你需要做的是创建一个包含exe和数据库的设置。

这个安装程序应该能够安装exe和数据库。



通过此链接 - 在Dot Net VS 2008中创建安装和部署项目的步骤 [ ^ ]。
What you need to do is create a setup that includes the exe and the database.
This installer should be able to install both the exe and the database.

Go through this link - Steps to Create Setup and Deployment Project in Dot Net VS 2008[^].


根据定义,使用Web应用程序不仅仅是可能的或不可能的,这只是无意义的。从应用程序的角度来看,它可能是完全不同的应用程序,即使它完全相同。



这个问题毫无意义。在实践中,您可能会想到在不同的应用程序类型中使用一个大的共享代码库。



-SA
Using Web application as stand-along not just possible or impossible, this is just nonsense, by definition. It could be totally different application, even if it did exactly the same, from the stand point of the application.

The question makes no sense. In practice, you may think of having a big shared code base used in different application types.

—SA


这篇关于我们可以使用vs 2010为Web应用程序创建.exe或设置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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