简体   繁体   English

Visual Studio 项目创建两个具有不同端口的相同 IIS 应用程序

[英]Visual Studio project creates two equal IIS Applications with different ports

Whenever I create a new ASP project on Visual Studio 2019 and press run (no changes on the default code) it creates two instances of the same website on IIS but with different ports, which is causing me issues creating vistual folders.每当我在 Visual Studio 2019 上创建一个新的 ASP 项目并按运行(默认代码没有更改)时,它都会在 IIS 上创建同一网站的两个实例,但端口不同,这导致我在创建可视文件夹时出现问题。 How can I make it just one?我怎样才能让它只有一个?

One of the options that can be ticked when creating a new web project is Configure for HTTPS .创建新 Web 项目时可以勾选的选项之一是Configure for HTTPS Uncheck it then that should create one site when running the project.取消选中它,然后在运行项目时应该创建一个站点。

在此处输入图片说明

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

相关问题 在Visual Studio中为多个应用程序创建安装项目 - Creating a Setup Project for multiple applications in Visual Studio 如何从一个Visual Studio项目创建两个不同的可执行文件 - How to create two different executables from one Visual Studio project 在具有IIS但没有Visual Studio的系统上运行.net项目 - Run a .net project on a system with IIS but no Visual Studio Visual Studio Community 2019 创建项目但无法打开它创建的项目? - Visual Studio Community 2019 creates a project but cannot open the project it created? 在 Visual Studio 2010 中部署和设置 windows 应用程序项目 - Deploying and setup for windows applications project in visual studio 2010 ASP.NET通过Visual Studio创建Excel文件,但因IIS而失败 - ASP.NET creates Excel file through Visual Studio but fails with IIS Visual Studio 2019 IIS 配置文件创建 web.config 文件,该文件破坏了 Azure 应用服务 - Visual Studio 2019 IIS profile creates web.config file that breaks Azure App Service 将组件复制到Visual Studio中的其他项目 - Copy components to a different project in Visual Studio 管理Visual Studio项目的不同版本? - manage different verions of a Visual Studio project? Visual Studio中一个项目的两个站点 - Two Sites from one project in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM