简体   繁体   English

如何使用Visual Studio中的安装项目安装程序在IIS中发布ASP Web应用程序

[英]How to publish an asp web application in IIS with setup project installer in visual studio

I developed an asp.net web application, I would like to generate an installer which could deploy this application in IIS automatically (or manually with published website code). 我开发了一个asp.net Web应用程序,我想生成一个安装程序,可以自动(或使用发布的网站代码手动)在IIS中部署此应用程序。 I've tried to publish the code manually by myself and add them into setup project, but there always gives me an error message. 我尝试自己手动发布代码并将其添加到安装项目中,但是始终会出现错误消息。 I wonder if there is a way to generate an installer which could deploy my application on IIS. 我想知道是否有一种方法可以生成可以在IIS上部署我的应用程序的安装程序。

Here are steps you can take. 您可以采取以下步骤。

1) Take a look at the following link which gives a plugin if you are using visual studio 2015,21017 or 2019. I think this plugin will work even with Community edition. 1)如果您使用的是Visual Studio 2015,21017或2019,请查看下面的链接,该链接提供了一个插件。我认为该插件甚至可以在Community Edition中使用。
https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects

2) Once the plugin is installed the following link from microsoft can guide you how you can do the setup at high level. 2)安装插件后,Microsoft的以下链接可以指导您如何进行高级安装。

https://docs.microsoft.com/en-us/biztalk/core/how-to-create-a-web-setup-for-your-published-web-service https://docs.microsoft.com/zh-cn/biztalk/core/how-to-create-a-web-setup-for-your-published-web-service

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio将项目发布到一个简单的安装程序中 - Visual Studio Publish Project Into One Simple Installer 将 SQLLocalDB 包含到 Visual Studio 安装程序安装项目中 - Include SQLLocalDB into Visual Studio Installer Setup Project Windows Installer Visual Studio安装项目 - Windows Installer Visual Studio Setup Project Visual Studio 安装项目 - 生成的安装程序有问题 - Visual studio setup project - problem with the generated installer 如何在Visual Studio 2008 SP1中使用Web安装程序项目在IIS中创建新网站 - How to create new website in IIS using Web Setup Project in Visual Studio 2008 SP1 ASP.NET web 应用程序无法在 Visual Studio 2019 中发布 - ASP.NET web application fail to publish in Visual Studio 2019 是否可以在Visual Studio 2015的其他端口中发布asp.net Web API? IIS不是IIS Express - Is it possible to publish asp.net web api in a different port in Visual Studio 2015 ? IIS not IIS Express 如何使用 Visual Studio 将 ASP.NET Web 应用程序 (.Net Framework) 发布到 FTP 服务器? - How to Publish ASP.NET Web Application (.Net Framework) with Visual Studio to FTP Server? 使用安装项目Visual Studio安装程序安装应用程序后,图标未显示在任务栏中 - Icon not showing up in taskbar after installing an application with Setup project Visual studio installer 缺少Visual Studio Web应用程序发布目标 - Missing Visual Studio Web Application publish targets
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM