在asp.net项目中没有获取安装程序类 [英] Not Getting Installer Class In asp.net project

查看:77
本文介绍了在asp.net项目中没有获取安装程序类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI


我正在做网站项目,我必须为此设置Webset文件



现在我有在解决方案中添加安装程序类



我添加了新项目>在模板中我没有获得OPtion安装程序类



但是进入c#Winform项目




所以我在网上也看到了他们告诉ADD NEW Item>从模板中选择安装程序类



请告诉我如何执行此操作

HI
I am doing Website Project ,I have to make Webset up File for same

Now I have to Add "Installer Class " in solution

I did Add New Item > In Template I am Not Getting OPtion Installer Class

But Getting in c# Winform Project


So I have see on net also They told ADD NEW Item > select "Installer Class from template

Please tell me How can I do this

推荐答案

您应该添加在您的解决方案中键入Web Setup Project的新项目,然后使用此项目来安装Web应用程序。
You should add a new project of type "Web Setup Project" into your solution and then to use this project to install your Web application.


可能原因是您发布Web项目,而不是安装它。如果您需要知道如何部署它,以下将有所帮助:

用于托管Web应用程序:

MSDN:演练:发布网站 [ ^ ]



IIS特定:

1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [ ^ ]

2.在IIS6中:在IIS上部署网站 [ ^ ]
Probably the reason is you publish Web project, and not install it. If you need to know how to deploy it, following will help:
For hosting a web application:
MSDN: Walkthrough: Publishing a Web Site[^]

IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


这篇关于在asp.net项目中没有获取安装程序类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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